* camlp4: Parsing and transforming class definitions
@ 2007-10-04 15:32 Joel Reymont
2007-10-04 16:05 ` [Caml-list] " Martin Jambon
0 siblings, 1 reply; 3+ messages in thread
From: Joel Reymont @ 2007-10-04 15:32 UTC (permalink / raw)
To: Caml List
Folks,
I would like to use camlp4 to parse OCaml class definitions and
transform the code if the class inherits from a given one. Are there
any OCaml extensions that manipulate classes?
For the record, I would like to generate define Cocoa classes in
OCaml and automatically generate all the required FFI wrappers.
Thanks, Joel
--
http://wagerlabs.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] camlp4: Parsing and transforming class definitions
2007-10-04 15:32 camlp4: Parsing and transforming class definitions Joel Reymont
@ 2007-10-04 16:05 ` Martin Jambon
2007-10-06 7:38 ` Nicolas Pouillard
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jambon @ 2007-10-04 16:05 UTC (permalink / raw)
To: Joel Reymont; +Cc: Caml List
On Thu, 4 Oct 2007, Joel Reymont wrote:
> Folks,
>
> I would like to use camlp4 to parse OCaml class definitions and transform the
> code if the class inherits from a given one. Are there any OCaml extensions
> that manipulate classes?
See Jacques Garrigue's pa_oo extension. I think Nicolas made a port to
camlp4 3.10.
http://www.math.nagoya-u.ac.jp/~garrigue/code/pa_oo.ml
> For the record, I would like to generate define Cocoa classes in OCaml and
> automatically generate all the required FFI wrappers.
>
> Thanks, Joel
>
> --
> http://wagerlabs.com
>
>
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
--
http://martin.jambon.free.fr
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] camlp4: Parsing and transforming class definitions
2007-10-04 16:05 ` [Caml-list] " Martin Jambon
@ 2007-10-06 7:38 ` Nicolas Pouillard
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Pouillard @ 2007-10-06 7:38 UTC (permalink / raw)
To: martin.jambon; +Cc: joelr1, caml-list
Excerpts from martin.jambon's message of Thu Oct 04 18:05:22 +0200 2007:
> On Thu, 4 Oct 2007, Joel Reymont wrote:
>
> > Folks,
> >
> > I would like to use camlp4 to parse OCaml class definitions and transform the
> > code if the class inherits from a given one. Are there any OCaml extensions
> > that manipulate classes?
>
> See Jacques Garrigue's pa_oo extension. I think Nicolas made a port to
> camlp4 3.10.
> http://www.math.nagoya-u.ac.jp/~garrigue/code/pa_oo.ml
No it's not part of the distribution (but I think it should).
> > For the record, I would like to generate define Cocoa classes in OCaml and
> > automatically generate all the required FFI wrappers.
> >
> > Thanks, J
> >
--
Nicolas Pouillard aka Ertai
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-06 7:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-04 15:32 camlp4: Parsing and transforming class definitions Joel Reymont
2007-10-04 16:05 ` [Caml-list] " Martin Jambon
2007-10-06 7:38 ` Nicolas Pouillard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox