Getting Started

Prerequirements

  1. Python3
  2. Pip3
  3. 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):

  1. This converts the april code to python3 code
  2. Compiled file is saved as filename without extention apl + '_apl.py'
april -c file.apl

Run an .apl file (start the API server):

  1. 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