Ana Beatriz Marques, 2018274233
Bárbara Gonçalves, 2018295452
- tokens da linguagem https://golang.org/ref/spec#Lexical_elements
- repositorio do stor https://git.dei.uc.pt/rbarbosa/Comp2021/tree/master user: email do dei sem o @student.dei.uc.pt passe: passe do email do dei
" gocompiler: flex gocompiler.l yacc -dy gocompiler.y clang -o gocompiler -Wall -Wno-unused-function *.c
.SILENT: "
to run:
- make -B
in the folder metaX add this file inside the folder create the following
files | function of the files |
---|---|
metaX/tests/input | this is where your .dgo and .out files from the git go to |
metaX/tests/output | this is where your new generated files go after running the tests |
first time: chmod +x test.sh dos2unix test.sh
to run: ./test.sh gocompiler -(flag)
files are generated and compared, if there is any error there will be ❌ {file that doesnt pass the test} in the terminal