Skip to main content

Blog Archive for driscoll during October 2012

In my previous post, I discussed the example program that I wrote to exercise the things I've described so far.  Today I'll discuss what the DSL will actually look like - as with most programming tasks, designing your DSL before implementation is almost always advised. There are a couple of different ways that you can use to describe languages, the most popular (and my favorite) being BNF, but...
My very first programming language was BASIC.  But the first time I ever thought I could do this for a living was when I discovered LOGO.  While the language itself didn't interest me in particular, I was fascinated by Turtle Graphics. If you're unfamiliar with Turtle Graphics, it's a pretty simple concept:  while traditional graphics paradigms involve an x/y coordinate system, where each pixel...