CLL is my attempt at creating a 'simple' programming language with c-like syntax and ideas such as operator precedence or data types.
It also borrows some ideas from others interpreted languages like Python or batch/bash such as triple equals sign and the way arguments are passed.
CLL can be used to create scripts or can be embedded into a c++ project.
It is also worth pointing out that CLL is turing complete, but it is not object-oriented.
- Dynamic variables
- Multidimensional and irregular arrays (vectors)
- Flow control
- Functions
- User defined functions
- Recursion
You can download latest interpreter from here or You can compile it yourself preferably using Visual Studio with v142 toolset on 10.0.18362.0 Windows SDK.
You need to compile it Yourself with g++. I prepared CMakeLists.txt to make it easier.
First install cmake: sudo apt-get install cmake
, then You need to download or clone the
whole project and lastly from the project directory You need to execute the following commands:
mkdir build && cd build
cmake ..
make
sudo make install
CLL uses c++14 features, so it must be compiled with c++14 flag.
CLL
directory must be built as a static library.
No external libraries needed.
Every contribution is welcome, whether it is typo or bug fix or some new feature.
You can also create example scripts and embedded c++ programs. More info here.