ECN lab about syntaxic analysis

DricomDragon 650e614724 Merge branch 'bats' há 5 anos atrás
.gitignore 350b06e6b1 Add diff and status output in tester há 5 anos atrás
LICENSE 383b1598d8 Initial commit há 5 anos atrás
README.md a875e276f3 Add bats explanations in README há 5 anos atrás
eval.l 44689196bb Fix non working substraction há 5 anos atrás
eval.y 001475f3a8 Add division há 5 anos atrás
makefile 9699fe6c92 Append 'out' to the runnable file há 5 anos atrás
test.bats 3a3788ea63 Add test for unary minus operator há 5 anos atrás

README.md

FlexBisonLab

ECN lab about syntaxic analysis

Dependencies

To make binary

You need GCC, flex and bison.

You can install them on debian based systems with :

sudo apt install flex bison

To run tests

Tests are using Bash Automated Testing System

You can install them on debian based systems with :

sudo apt install bats

How to compile

make
./eval.out

How to test

You need to compile prior to test.

./test.bats