On 2 Dec 2007, at 22:58, Natalia Wolyczko wrote:
Hi Hans,
Many thanks for your replay.
Please keep the cc to the list, as you did now, because others may
join in.
I read calculator examples within the manual several times, but
still have some difficulties.
You might try the Usenet news
>Because you have written the grammar for a language matching exactly
>that token sequence and nothing else. If you want to do what you
>indicated, you need to do recursion - the Bison manual has some
>sections on that. Also, check out the calculator example - good
>starting point.
>
> Ha
On 1 Dec 2007, at 23:07, Natalia Wolyczko wrote:
I'm new to bison, first of all I've tried to write a simple "hello-
world" like program using flex/bison.
All I want is to see "boom!" message after reading two MLAH tokens,
which corresponds to input string of the same name i.e. "mlah".
This