- make all
- make clean
- ./a.out "code.ccc"
-
https://stackoverflow.com/questions/47420730/linker-error-multiple-definition-of-yylex
-
https://docs.microsoft.com/en-us/cpp/c-language/c-abstract-declarators?view=vs-2019
bison parser.y --report=all
bison parser.y -o parser.cc
gcc parser.cc -fno-diagnostics-show-caret
!x is x == 0
x!=y is !(x==y) is (x==y)==0
x-y is x+(-y)
x[y] is *(x+y)
removed positive type (unsigned)
removed casting