|
|
|
|
|
by Taniwha
4583 days ago
|
|
kids these days, when I wrote my first compiler I had to write my own yacc equivalent, and parser FYI: My generator allowed for dynamic resolution of shift/reduce conflicts which allows you to compile some languages yacc wont let you (languages that let you change the priority of operators for example) |
|
I implemented a left recursive parser in x86 Assembly for MS-DOS systems.
As I said, yacc and lex are nice to have, but nowadays there is little incentive to keep using them.
Specially as you say, they are not able to parse all types of languages.