DLR Review?

I am looking for a high-level overview of how one goes from AST to working code via DLR, does anyone (link for) have something similar?

+4
source share
2 answers

Here is a good 3-part tutorial on building a basic language from parsing to the actual tree construction in dlr matching.

http://www.bitwisemag.com/2/DLR-Build-Your-Own-Language

All current DLR specifications and documents are located here:

http://dlr.codeplex.com/wikipage?title=Docs%20and%20specs&referringTitle=Documentation

This tutorial is the one I used to learn DLR:

http://www.dotnetguru.org/us/dlrus/DLR2.htm

It creates a custom version of javascript in DLR.

And if all else fails, you can look here: http://myjscript.codeplex.com/sourcecontrol/changeset/view/8678?projectName=MyJScript#109043

to see the actual implementation of the parser, although I would probably recommend using Antlr as your parser. This is what I use, although I have some Antlr experience :)

+5
source
+4
source

All Articles