|Compiler positions available for week ending August 13 firstname.lastname@example.org (2000-08-13)|
|Meta language? email@example.com (Mihai Christodorescu) (2000-08-14)|
|Re: Meta language? firstname.lastname@example.org (Ira D. Baxter) (2000-08-20)|
|Re: Meta language? email@example.com (Daniel C. Wang) (2000-08-20)|
|From:||Mihai Christodorescu <firstname.lastname@example.org>|
|Date:||14 Aug 2000 17:31:01 -0400|
|Organization:||UWisc - CS - http://www.cs.wisc.edu/~mihai|
Does anyone know of any language designed specifically for modifying
source code? It should deal with concepts such as "function", "block",
"statement", "expression", "type", etc. (of course, only for
imperative, non-OO languages). It would work on the AST of a program,
modifying the AST, and generating source in the same language:
C source -> meta language? -> C source
I want to be able to do something like: given some source code,
"insert at the entry of each function the statement...", and get back
source code (preferably formatted just like before) with the new
statement inserted in the right places. I can think of other
applications as well, this is the simplest one I can think of.
Any pointers are welcome. I am mostly interested in the design of the
(meta-)language, rather than the implementation.
Mihai Christodorescu -=- email@example.com - http://www.cs.wisc.edu/~mihai
Return to the
Search the comp.compilers archives again.