Using antlr and the DLR together -- AST conversion

Posted by RCIX on Stack Overflow See other posts from Stack Overflow or by RCIX
Published on 2010-02-24T20:28:06Z Indexed on 2010/03/21 0:51 UTC
Read the original article Hit count: 603

I have an AST generated via ANTLR, and I need to convert it to a DLR-compatible one (Expression Trees). However, it would seem that i can't use tree pattern matchers for this as expression trees need their subtrees at instantiation (which i can't get). What solution would be best for me to use?

© Stack Overflow or respective owner

Related posts about antlr3

Related posts about abstract-syntax-tree