I'm the author of ANTLR Testing (http://antlr-testing.sourceforge.net/), and
I'm curious how many people here (or anywhere) use it. I've gotten a few
emails from people who've found it and like it. Now that I'm looking for a
job in industry (after 12+ years in academia), I'm thinking potential
employers might like to know how many are using my library.
For those unfamiliar with the library, it takes a JUnit approach to testing
grammars from ANTLR. (Unlike gUnit which uses a DSL written with ANTLR for
testing.) ANTLR Testing (the laziest name for a library, ever) provides
specialized assertion methods for tokens and ASTs. Its real strength is
using Java's reflection to scan, parse, and tree parse with a fluent
interface. As an example:
assertTree(
MyOwnParser.EXPRESSION, // assert type of root
"(+(1)(x))", // assert preorder traversal of AST
myTester.scanInput("1 + x").parseAs("expression"));
I'm happy to add new features if you like what you see but doesn't quite do
what you want.
jdf
--
Jeremy D. Frens
[email protected]
http://www.norecess.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address