[antlr-interest] yaska: antlr autotest

Jim Idle jimi at temporal-wave.com
Thu Mar 12 08:46:53 PDT 2009


ian eyberg wrote:
> Hi,
>
>   After writing my grammars according to unit tests that I had previously
> written I realized I should have corrected the warnings I was generating
> as they came. (warnings are really errors).
>
>   Anyways, I can't stand graphical IDEs and my work environment mainly consists
> of screen+vim. 
Real programmers use vi :-)
> So, I put together, yaska, which is an autotest suite proggy
> for running my grammars and then making sure my tests fly right as well.
>
>   The sweet thing about it is as soon as a I save a file I'm immediately
> informed whether my changes generated more/less compile-time and run-time
> warnings and whether or not it broke any tests. At least for me, this has
> given me a tremendous boost in learning how to write grammars and speed
> in getting my errors corrected.
>
>   Right now I have an implementation of this that could use a bit of love
> up on the hubs:
>
> http://github.com/feydr/yaska/tree/master
>   
Out of interest, was there something that gUnit does not do for you that 
meant you wrote this? It might be useful feedback.

Jim


More information about the antlr-interest mailing list