Closed RobertoCapoferri closed 1 year ago
Hi @RobertoCapoferri,
thanks for pointing this out! Unfortunately, this walkthrough is very old (and outdated), and the used bison2py
script only work for older bison files. (I think we pinned bison version 3.4 somewhere ...)
With a recent commit, I removed these outdated files, but also updated the calc example (which is now working again).
I hope this gets you up and running and provides a good base for your project, best of luck!
Thank you, i was able to run the example code.
I tried following the walkthrough but when i run my script it doesn't work. I do see warnings from the compilation, so it is doing something but the parser doesn't do anything no matter what i type. Below you can find the compilation output:
After this nothing happens when i type. Successive runs of the script, since the compilation is already done, do not output the warnings, i just get a blank line waiting for input that blocks my terminal until i press
CTRL+Z
.Notes: The script is the same as the one in the walkthrough, i just changed the print to work on python 3
and comment out the
int yylineno = 0;
line, as the walkthrough says.I am using the following version of software