开发者

overview of DLR? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
开发者_运维技巧

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

I'm looking for a high level overview of how one goes from an AST to working code via the DLR, does anyone have (a link for) something like that?


Here is a good 3 part tutorial about building a basic language from the parsing to the actual tree construction to the dlr mapping.

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

All the current DLR specs and documents are located here:

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

This tutorial is the one that I used to learn the DLR:

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

It builds a custom version of javascript on the 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 parser implementation, though I would probably recommend using Antlr as your parser. That's what I use, though I've got a fair bit of Antlr experience:)


Here is a link that maybe helps: http://www.codeproject.com/KB/codegen/astdlrtest.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜