Wednesday, October 29, 2008

AST manipulation, interpreters and DSL

Do you want to implement (quickly) an interpreter of some small language?
Then take a look at some cool examples and theory that can help you:

- An interpreter of Javascript in Erlang here
- this technique is an extension to the standard Recursive Descent parser, more powerful, and in this example they create a Javascript interpreter with this technique (here)
- Erlang can also be used to quickly create Domain Specific Languages (here)

No comments:

Post a Comment