.
├── build
│ └── simplecalc
├── src
│ ├── main.c
│ ├── lexer.l
│ ├── parser.y
│ ├── parse.c
│ ├── parse.h
│ ├── var.c
│ ├── var.h
│ ├── interpret.c
│ ├── interpret.h
│ └── serialize_ast.c
├── tests
│ └── ...
├── scripts
│ └── ...
└── makefile
The library libbison-dev is required for linking liby.a.
sudo apt update
sudo apt install flex bison libbison-devcompile to build/simplecalc:
makerun program:
make runrun tests:
make testadd test:
make add-test test=<test>clean compiled and temp files:
make clean