Browse thread
How can I generate an AST?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2007-08-19 (17:39) |
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