On Jul 17, 2011, at 9:36 AM, Mark Wright wrote: > On Sun, 17 Jul 2011 09:01:49 -0700, Terence Parr <pa...@cs.usfca.edu> wrote: >> i use antlr3-main :) > > Hi Ter, > > I guess you mean: > > antlr.org:666 > //depot/code/antlr/antlr3-main/...
yup. > >> which is release-3.4/ also >> >> want a jar? > > Yes please a jar of whichever antlr3 and stringtemplate you use to build > antlr4 would be neat. In a separate e-mail. > >> ANTLR v4 status: parses, lexes, does AST ops like ^, and ast rewrites ->. >> Missing ST rewrites, imports *almost* work, no left-recur elim, no tree >> parsing. >> >> next: imports, then left-recur elim, then scannerless parsing, then tree >> parsing. >> >> templates are pretty clean so far, right? >> >> Ter > > Yes the templates seem really easy in v4. It was very simple to > output the ATN for a lexer. cool :) > > I written stuff to deserialize the ATN into Haskell data structures. > To check if it might look OK, I wrote code to convert it to a > graph and output it in GraphViz dot format. None of this is tested > so far. > > So I guess I should try next writing something like > antlr4/runtime/Java/src/org/antlr/v4/runtime/atn/LexerATNSimulator.java Note that the software is in a daily state of flux ;) Ter _______________________________________________ antlr-dev mailing list antlr-dev@antlr.org http://www.antlr.org/mailman/listinfo/antlr-dev