Transpiler from AEIL (invented language) to python3 implemented with haskell. Check AEIL grammar.
- Stack installed. Check Install Stack
- make installed.
- Run command
stack setup && stack build
- Give execution permission to
compiler.sh
with commandchmod u+x compiler.sh
- Run command
./compiler.sh PATH_TO_AEIL_FILE
, where PATH_TO_AEIL_FILE is the path to the AEIL program.
After running previous steps, if the AEIL program is valid, it will generate the file output.py
containing transpilation to python3.
- Run command
make compile FILE=PATH_TO_AEIL_FILE
, where PATH_TO_AEIL_FILE is the path to the AEIL program.
After running command, if the AEIL program is valid, it will generate the file output.py
containing transpilation to python3.
- Run command
stack build && stack exec AEIL-transpiler-exe PATH_TO_AEIL_FILE
, where PATH_TO_AEIL_FILE is the path to the AEIL program.
After running command, if the AEIL program is valid, it will generate the file output.py
containing transpilation to python3.
- Run command
make runTests
- Run command
stack test --silent