A Haskell-inspired functional programming language
This repository contains the specifications and documentation for the OcellusScript programming language, as well as the source code for Efficacy, the compiler and interpreter for OcellusScript.
⚠️Note: OcellusScript is still a work in progress and is not fully functional as a language yet.
Build Requirements for Efficacy
- Python 2.7 or 3.7+ (3.7+ recommended)
- Poetry project manager
To build Efficacy, clone this repository and then run
poetry install, followed by
To run Efficacy, just run
efficacy into the terminal. Running it without any command should open the interactive interpreter environment.
--input file.ocls: The path to the source file to compile.
--output exec: The path to the newly-created executable after compiling.
--output-tokens tokens.json: The path to the newly-created JSON file containing all of the tokens parsed.
--version: Reports the version of the Efficacy package.