ECN lab about syntaxic analysis

DricomDragon 34d29acb08 Merge branch 'division' 5 vuotta sitten
.gitignore 350b06e6b1 Add diff and status output in tester 5 vuotta sitten
LICENSE 383b1598d8 Initial commit 5 vuotta sitten
README.md a875e276f3 Add bats explanations in README 5 vuotta sitten
eval.l 7108e6b30c Make simple division working 5 vuotta sitten
eval.y fa2bb39aee Skip divisions by zero 5 vuotta sitten
makefile 564a5a672c Add clean target 5 vuotta sitten
test.bats b0e4bd21f4 Test if division by zero is skipped 5 vuotta sitten

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