Category Archives: Java

ANTLR v4: Lexical Scoping

Initially, when writing the TMI language, I was lazy.  I was content to have a single global scope for everything.  However, when I started to program in the language, name collisions soon became cumbersome. I don’t know if I had … Continue reading

Posted in ANTLR, Dex, General, Java | Leave a comment

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

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

Basic Garbage Collection Analysis

Performance Problems I am a small cog in a large company which has adopted Java in a big way.  I am often called in for firefighting activities across Java environments I have never seen before.  Most of the issues are … Continue reading

Posted in Analysis, Dex, Java | Tagged , , , , | 6 Comments