Hi,
I'm writing a parser for quite a while now, but everytime I have
to extend the syntax, I bounce into errors that the parser
is reducing my token sequences always according to the
wrong rule - albeit a rule that has a strong resemblence
with the correct one.
The books I've learned it from explain how you can write
your syntax, but they don't give a methodology to follow
when writing fail-safe YACC-rules ( "fail-safe" just means
that the user provides the parser with a correct syntax ).
Suggestions are greatly appreciated,
Bert
--
===== __ =====
=============================\/============================
mail : Bert Aerts
Katholieke Universiteit Leuven
ESAT-MICAS-group room 91.21
Kardinaal Mercierlaan 94
B-3000 Leuven, Belgium
phone : 0032-(0)16-32 10 76 - fax : 0032-(0)16-32 19 75
URL : http://www.esat.kuleuven.ac.be/~aerts
===========================================================