Monthly Archives: November 2012

More Fun With ANTLR v4 and Groovy

The more I play around with it, the more impressed I become with the combination of ANTLR v4 and Groovy.  I am learning while I play around with the Grammar and syntax of the language I intend to embed within … Continue reading

Posted in Dex, Java | Tagged , , , | Leave a comment

ANTLR and Groovy

Mixing ANTLR with Groovy can give you the best of both worlds. Consider the following grammar snippet: additiveExpression    : multiplicativeExpression    | additiveExpression (‘+’|’-‘) additiveExpression; Handling this within Java is quite tedious.  In this example we share a stack of type … Continue reading

Posted in General | Tagged , , | 2 Comments

A Tale of Two Grammars

A Tale of Two Grammars In days gone by, language creation was a highly sophisticated art practiced by wizards. The tools of the trade were flex, lex, yacc and bison. In the Java technology stack, powerful alternatives to these venerable … Continue reading

Posted in General, Java | Tagged , , , , | 17 Comments

The birth of a computer language

Introduction Eventually, during the course of one’s programming career, we encounter a task which requires a high degree of complexity and configurability.  This task is cannot be easily expressed in the available languages.  XML and property configuration files will fall … Continue reading

Aside | Posted on by | Tagged , , , | Leave a comment

Still Coding…

It’s 2:07 AM.  I have to work even earlier tomorrow, and I’m still plugging away at code. Cool stuff though. Live Coder – Code D3 interactively and save your results to disk (when run from Dex).  This is one of … Continue reading

Posted in General | Leave a comment

Still Plugging

It’s 1:30 AM.  I have to work early in the morning, and I’m still plugging away at code.  I can’t stop.  I’m on a roll.  My dad always said that “Every now and then, even a blind squirrel finds an … Continue reading

Posted in General | Tagged , , , , | Leave a comment

Plugging Along

In case you’ve been wondering.  I’m plugging along with Dex 0.6.  I’m spending a lot of time rewriting the documentation and have decided to use DokuWiki to keep it up to date.  Rather than having to worry about security, I … Continue reading

Posted in General | Tagged , , , | Leave a comment