Prerequirements
- Python3
- Pip3
- Redis server
Installaition
Windows:
pip install aprillang
Linux/MacOs
pip3 install aprillang
Usage
Get the list of allowed commands
april -h
Get info of the language
april -a
Compile an .apl file (april file):
- This converts the april code to python3 code
- Compiled file is saved as filename without extention apl + '_apl.py'
april -c file.apl
Run an .apl file (start the API server):
- Format for the command is - april -r host:port
april -r file.apl 0.0.0.0:8080
Get the version of april:
april -v