An interpreted type-inferred programming language made in Python with SLY
To run the REPL clone the project and run main.py
git clone https://github.com/oransimhony/o.git
cd src
python main.py
In order to run a file (for example examples/helloworld.olang) Supply the file as an argument when running main.py
python main.py ../examples/helloworld.olang
You need to install Python 3.6 or greater and SLY
pip install sly
- Mathemtical Experssions ( + - * / % )
- Logical operations
- Bitwise operations
- Variables (Ints, Floats, Strings, Booleans, Lists, Dictionaries, Structs)
- If Statements
- While Loops
- For Loops
- Functions
- Anonymous Functions
- Closures
- Oran Simhony - oransimhony
This project is licensed under the terms of the MIT license - see the LICENSE file for details