.net - Using the DLR for (primarily) static language compilation -
i'm building compiler targets .net , i've generated cil directly, generating dlr trees make life fair amount easier. i'm supporting few dynamic features, namely runtime function creation , ducktyping, vast majority of code static.
so that's been explained, have following questions:
- has dlr been used static compilation, outside of small examples on msdn blogs?
- if so, sort of performance achieved?
- if not, there fundamentally preventing this?
- are there better mechanisms of generating code either using dlr or emitting il directly?
any insight or references blogs/code/talks appreciated.
i'm not aware of using dlr in quite fashion yet, though 1 of intended use cases. 1 interesting thing consider dlr's expression trees have been merged linq expression trees, il being produced linq in as-yet-unannounced future version of visual studio using dlr code.
a neat aspect of releasing dlr open source have no idea kinds of interesting things people outside company might doing :).
Comments
Post a Comment