Is there any compiler-compiler available for java that takes bison-like
grammar as input ? I don't think only about same type of grammar, but
exactly same definitions (of course without action bodies).
I was browsing through bison source and I was struck by some idea. How
much work would take to make bison to generate java code ?
State tables would be read from external files (because of the max size
of static initializer in class). bison.simple would have to be rewritten
in java. $1 for type <node> would change from yyvsp[-1].node to
(Node)yyvsp[yyvsphead-1]
Any comments ?
Artur