Archive for the 'DLR' Category

2) DLR - Scanner

Thursday, September 11th, 2008

In the first chapter I described common architecture of .NET language compiler. There are usually three parts - scanner, parser and generator of CIL code. But building a language on the DLR slightly differs because instead of CIL code is produced DLR abstract syntax tree (DLR AST).
(more…)

1) DLR - Introduction into implementation of .NET languages

Thursday, August 14th, 2008

I’m not an English native speaker however I decided to write this tutorial in my poor Czech English because there isn’t much information about implementing dynamic languages on the DLR.

Why dynamic languages?

Dynamic languages have more flexible type system and they are more convenient to rapid development. Two examples of dynamic languages are Python and Ruby, both of which are widely used for web development.

(more…)

Introduction to Dynamic Language Runtime

Sunday, March 9th, 2008

This is supposed to be short introduction to DLR - Dynamic Language Runtime. DLR is a new layer on static CLR used to implement dynamic languages on .NET. Simply said, DLR hides all the tough stuff you have to deal with, if you want to implement dynamic language on static CLR.
If you are interested in implementation of programming languages, especially dynamic languages, for .NET and you want to play with DLR, here are few important points:

(more…)