From: Joel Reymont <joelr1@gmail.com>
To: Caml List <caml-list@inria.fr>
Subject: camlp4 and class introspection
Date: Sat, 9 Jun 2007 23:59:38 +0100 [thread overview]
Message-ID: <A626AEDA-54B0-4D1D-B123-18636662749E@gmail.com> (raw)
Is it possible to add code to a class's initialization section using
camlp4?
I would like to introspect the class definition to print instance
variable names and types. Then I would like to introspect the methods.
If anyone could give an example of how this is done with camlp4 3.10
I would really appreciate it!
To explain a bit, I would like to make sure that each defined class
is registered with the Objective-C runtime, only once, not per object
instantiation.
Thanks, Joel
--
http://topdog.cc - EasyLanguage to C# translator
http://wagerlabs.com - Blog
next reply other threads:[~2007-06-09 22:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-09 22:59 Joel Reymont [this message]
2007-06-10 0:14 ` [Caml-list] " Jonathan Bryant
2007-06-10 12:30 ` Joel Reymont
2007-06-10 20:02 ` Yaron Minsky
2007-06-10 21:18 ` Joel Reymont
2007-06-10 22:07 ` Yaron Minsky
2007-06-11 0:58 ` Jacques GARRIGUE
2007-06-11 8:05 ` Joel Reymont
2007-06-11 10:11 ` Martin Jambon
2007-06-11 10:16 ` Joel Reymont
2007-06-11 11:36 ` Martin Jambon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A626AEDA-54B0-4D1D-B123-18636662749E@gmail.com \
--to=joelr1@gmail.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox