Tag Archives: java

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

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

Posted on by patmartin | 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

Dex Tutorials and Demonstrations Are Available

I have a few online tutorials that show some basic functionality within Dex which are hosted on YouTube. Tutorial #1 : The Basics Tutorial #2 : Visualizations Tutorial #3 : Useful Components  

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

Visualizing Minnesota Education By Race and Gender

The Minnesota State Demographic center created an interesting contest around visualizing the educational attainments of the state.   So I thought that Dex might be useful in producing some visualizations with the data. After looking at the data, I chose … Continue reading

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

Sankey Diagrams

I really love Sankey diagrams for showing flow and conveying a sense of proportion.  I just added this facility into Dex, more detail in a later blog entry. Some live examples can be found here: Example 1 Example 2 – … Continue reading

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

Dex 0.4 Released!

Dex 0.4 has been released and includes an easier installation as well as the features described in the 2 earlier blogs.  You can download it here.

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