I have to develop a compiler for a statically typed language for .NET I'm considering using the DLR for this instead of building all the parts (Lexer/Parser, Syntax, Semantic, Code Generation).
Would the DLR fit well for this scenario? Or it would be better to build the compiler directly for .NET and avoid all the dynamic calls.
EDIT: I did implemented the language without using any of the dynamic expressions that the DLR offers, instead I used the other expressions.
After that I can say that is much better when implementing a compiler to target the DLR instead of IL directly. The generated code still will be very clean.
If you want to see some code check: tigerconverters.codeplex.com/