I have an application where I already have a parser for one sort of grammar and I need to add a second different grammar for another purpose.
Is it possible to have more than one?
And if so how do you get another entry point?
Thanks
david allan finch
I think you can to this by using the --name-prefix
option to Bison, and the --prefix
option to Flex.
In both cases they allow you to replace the default "yy
" prefix used on the functions generated with a prefix of your own choice.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With