caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* camlp4: From AST to shortcuts
@ 2007-10-09 21:41 Joel Reymont
  2007-10-10 12:36 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Reymont @ 2007-10-09 21:41 UTC (permalink / raw)
  To: Caml List

Suppose I'm debugging a camlp4 extension and get the following AST

Ast.TyId (_loc, Ast.IdLid (_loc, "int"))

what's the best way of figuring out that this correspods to this bit?

<:ctyp< int >>

Do I grep the sources and if so what files?

This is a rather simple example but I'm trying to teach myself to  
fish. Ultimately, I want to add initializer code and fields to the  
AST resulting from a class declaration.

	Thanks, Joel

--
http://wagerlabs.com




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-11 13:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-09 21:41 camlp4: From AST to shortcuts Joel Reymont
2007-10-10 12:36 ` [Caml-list] " Nicolas Pouillard
2007-10-10 13:00   ` Joel Reymont
2007-10-11 13:05     ` Nicolas Pouillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).