> > Michael Schmalle already created jasblocks, a Java port of his asblocks > engine > which is able to parse AS3. > https://github.com/teotigraphix/as3-commons-jasblocks/ > Since he's already created grammars for AS3, E4X, regex and ASDoc we might > be able to stand on the shoulders of giants :) > goldparser uses a different type of grammar notation, ANTLR uses EBNF and > goldparser > uses BNF. I am not familiar with the differences but I'm guessing it > should be possible > to convert between the two without too much hassle. > After that its a matter of speed testing them. >
Apparently this is how to convert from EBNF to BNF: http://lampwww.epfl.ch/teaching/archive/compilation-ssc/2000/part4/parsing/node3.html