[antlr-interest] Dynamic Grammars
Randall R Schulz
rschulz at sonic.net
Tue Oct 7 06:12:48 PDT 2008
Hi,
I recently had to write a parser for a language that, like Prolog,
allows definition of new operators and redefinition of the precedence,
arity and associativity of existing operators. (I did use ANTLR and was
forced to simply fix the default operator structure to that language's
defaults, which technically means I didn't really implement that
language, but it's the best I could do within the time I have available
for what is a non-essential support tool in my project.)
Now, I'm virtually certain this cannot be done with ANTLR or any of its
brethren, but I was wondering if anybody here knows how such things are
handled? Are there in fact any parser generators that could handle such
a language? Am I wrong in thinking ANTLR cannot?
Thanks.
Randall Schulz
More information about the antlr-interest
mailing list