Version française
Home     About     Download     Resources     Contact us    
Browse thread
How can I generate an AST?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Loup Vaillant <loup.vaillant@g...>
Subject: How can I generate an AST?
Hello,

I would like to write a preprocessor of my own (to make a lisp
syntax). In the process, I am slowly catching up with the Ocaml AST.

However, I am clueless about how I should feed the compiler with my
generated AST. Should I use Marshall? should I output the same as the
option -dparsetree? Should I use some "purple magic"?

Can anybody give me a pointer about how to do this?

Thanks,
Loup Vaillant