ECN lab about syntaxic analysis

DricomDragon 564a5a672c Add clean target %!s(int64=5) %!d(string=hai) anos
.gitignore 350b06e6b1 Add diff and status output in tester %!s(int64=5) %!d(string=hai) anos
LICENSE 383b1598d8 Initial commit %!s(int64=5) %!d(string=hai) anos
README.md a875e276f3 Add bats explanations in README %!s(int64=5) %!d(string=hai) anos
eval.l 4860fecf0a Translate from french to english %!s(int64=5) %!d(string=hai) anos
eval.y 4860fecf0a Translate from french to english %!s(int64=5) %!d(string=hai) anos
makefile 564a5a672c Add clean target %!s(int64=5) %!d(string=hai) anos
test.bats ffa4b6735f Skip tests for division and unary operators %!s(int64=5) %!d(string=hai) anos

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