Getting Started with the DLR: ToyScript

House

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.

Twitter Digg Delicious Stumbleupon Technorati Facebook Email

6 Responses to “Getting Started with the DLR: ToyScript”

  1. 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!

  2. Looks great!
    Also, you are linking to Jim’s “Zen of the DLR” file instead of your presentation.

  3. Sweet, can’t wait for LOLCODE .NET (see http://lolcode.com)

  4. 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.

  5. This is a great intro to DLR. Is there any information, how to extend this to simple classes with functions ?
    Lars

  6. [DLR]ASTネタというか独自の言語実装を考える方に

    DLRにおける抽象構文木(AST)の解析について というエントリに対して、 興味深いトラックバック をNyaRuRuさんからいただきました。NyaRuRuさんのエントリでは、独自の言語プロバイダを実装してDLRのASTを調べるというものです。…