Initial commit

This commit is contained in:
Dimitri Lajou
2025-03-21 17:26:31 +01:00
commit 7114c0e978
115 changed files with 1760 additions and 0 deletions

16
compile Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
# stop script at first fail
set -e
if [ "$#" -ne 1 ] ; then
echo "usage: $0 file.vsl"
exit 0
fi
name="`dirname $1`/`basename $1 .vsl`"
# translating from VSL to LLVM IR (.ll)
java -jar build/libs/TP2.jar < $name.vsl > $name.ll
clang $name.ll -o $name