Hi everybody,
I plan to implement a Java skeleton for bison; since (if I have time --
I don't guarantee anything on this part) I would also like to implement
GLR parsing for Java, the attached patch attempts to provide a
"%language" declaration that wraps over "%skeleton".
Together with %language, there is a -L option to determine the language
from the command-line.
-L and -S are mutually exclusive, as are %language and %skeleton, but
the command-line options override the grammar directives.
Would something similar, of course with documentation and against
mainline rather than 2.0, be ok to apply? The copyright process is in
the works.
Paolo
- [RFC] %language declaration Paolo Bonzini
-