13.7.4 Bison – un Yacc migliore
Alcuni pacchetti forniscono un LALR parser generator Yacc-compatibile in
Debian:
-
bison: GNU LALR parser generator
-
byacc: Il Berkeley LALR parser generator
-
btyacc: Backtracking parser generator basato su byacc
Riferimenti per bison:
-
info bison (tutorial)
-
bison(1)
Dovete fornire la vostra main() e yyerror().
main() chiama yyparse() che chiama
yylex(), normalmente creata con FleX.
%%
%%