Getting Started with the DLR: ToyScript
At the Compiler DevLab that we hosted a couple of weeks ago, we threw together a quick starter kit for folks interested in building languages on top of the DLR. You can grab a copy of ToyScript here.
The DLR experiences presentation that I gave at the DevLab is probably the best source of docs (outside of the IronPython 2.0 Alpha sources) for folks interested in building a compiler using the DLR.
Update: fixed the link to the DLR Experiences talk.
Wow! Downloaded it and taking a look around - this looks great! I've had trouble understanding compiler source code before, but after a few minutes looking around, it was making sense!
Thanks for posting!
Posted by: Josh Charles | June 05, 2007 at 12:24 PM
Looks great!
Also, you are linking to Jim's "Zen of the DLR" file instead of your presentation.
Posted by: Mike Moore | June 05, 2007 at 01:23 PM
Sweet, can't wait for LOLCODE .NET (see http://lolcode.com)
Posted by: Clinton Begin | June 09, 2007 at 09:03 AM
Why wait? (http://www.lolcode.net/)
I wrote it before I found out about the DLR, though, so it's just plain CLR stuff. I took a look at the DLR and didn't find enough information to work from, but hopefully this provides what I need. Once the language has solidified a little more, I may look at converting the compiler to use the DLR. Depending on how 'dynamic' the language ends up, of course.
Posted by: Nick Johnson | June 14, 2007 at 10:48 PM
This is a great intro to DLR. Is there any information, how to extend this to simple classes with functions ?
Lars
Posted by: Lars | June 20, 2007 at 03:15 AM