logo

 

     
 
BW2 Home
BW2 Site Map
BW2 Popular Articles
BW2 Search
Using This Site...
 
 
Bitwise Home
 
 
 

rss

 
 

ruby in steel

hostgator

 

programming

Latest addition : Wednesday 2 April 2008.

This section's articles

Building your own Language – without tears

Wednesday 2 April 2008 by Dermot Hogan

In this series, I’m going to start at the bottom of the DLR pond and work upwards towards the light.Specifically, I’m going to construct an ANTLR tree grammar for a calculator and show you how to wire this into a DLR framework. This is about as simple as you can get with the DLR and still do something meaningful. It’s a lot simpler than the Microsoft example, ToyScript, which comes with the Iron Python distribution. I’ve tried hard to pare the calculator example down to the absolute minimum required to actually do something non-trivial. But I don’t want to denigrate ToyScript – it’s an excellent example of how to use the DLR, but in my view it’s not quite introductory enough.

See also: Part One of this series To build your own language in the DLR you need two things. First off, the DLR itself. Secondly, ANTLR3. The DLR you can get from CodePlex. This is the Iron Python distribution and (according to Microsoft will contain the latest version of the DLR for the near future). Currently this is DLR beta 1 - the first official beta of the DLR, released a couple of weeks ago. To avoid you having to download the whole of Iron Python when all you want is the DLR, I've (...)
- more...



More...

DLR - Build Your Own Language (without tears)

Monday 3 March 2008 by Dermot Hogan

An Easy Way to Manage SQL Queries

Tuesday 8 January 2008 by Howard Fosdick, Jon Wolfers

Rexx World

Monday 8 January 2007 by Howard Fosdick


Home