Archive for November, 2007
Little Continuous Integration with Growl Notifier
Monday, November 19th, 2007 | Fun, Java, Mac, OSX, Programming, debug, freeware, opensource | 2 Comments
Are you tired to run ant scripts and wait for tests results whenever you change some source file? Yes, me too, basically I got autotest’s idea for ruby and Did it work for ant as well. Continually runs tests based on files you’ve changed improving feedback with a fancy Growl alert.
If you are a Java developer and works with ant (on mac of course) check out my bash script( and avoid cruise control for little stuf ) **see update
Change all images paths on the script, put the script in your project folder and execute it
remember you need unit tests to use this script properly.


If you have some idea on how to improve it, let me know
** now hosted at github
git clone git://github.com/fmeyer/autotestmac.git
Antlr Lecture at Conexao Java 2007
Monday, November 12th, 2007 | Java, Programming, antlr, cj2007, computer science, language, lecture, opensource, sao paulo, university | 3 Comments
As I promised at CJ2007 I’m uploading my slides and demo code from my ANTLR lecture. I got really surprised about people’s interest in ANTLR, compiler theory and DSL in general.
- Slides http://fmeyer.org/downloads/antlr-cj-lab-fmeyer.pdf
- Demo http://fmeyer.org/downloads/antlr-cj-lab.tar.gz
You can import the demo in both eclipse or Intellij (or use maven to generate your own ide config). to run the code without an ide just unpack and execute the runconsole.sh you can set variable’s values ex:
x=1
y=2
And execute some expression using these predefined variables ex:
3*(x-y)*(x/y)
when you finish to input your expression just press ctrl+D on unix or ctrl+Z on windows ( EOF char ) to execute it
ps: Thanks to Danilo Sato to help me figure out a Grammar ambiguity, my approach wasn’t the optimal solution to resolve the problem.
*Update, Sami Koivu just sent me the pictures from my lecture,
Explaining the compiler theory
Hands On
The Antlr Grammar file as itself
Drools Sample DSL
Recent Comments
- Rafael Carneiro on O Scrume
- Dirceu Pereira Tiegs on O Scrume
- Jose Muanis on O Scrume
- Fernando Meyer on How to be happy at work?
- Bani on Pagerank isn’t for humans



