Translate C# code into AST?

Posted by Erik Forbes on Stack Overflow See other posts from Stack Overflow or by Erik Forbes
Published on 2008-10-17T19:00:16Z Indexed on 2010/03/09 11:21 UTC
Read the original article Hit count: 293

Filed under:
|
|

Is it currently possible to translate C# code into an Abstract Syntax Tree?

Edit: some clarification; I don't necessarily expect the compiler to generate the AST for me - a parser would be fine, although I'd like to use something "official." Lambda expressions are unfortunately not going to be sufficient given they don't allow me to use statement bodies, which is what I'm looking for.

© Stack Overflow or respective owner

Related posts about c#

Related posts about compiler