CxL is a general-purpose programming language for UNIX systems and is based on C++. It is more beginner-friendly and makes compiled languages less daunting. It focuses on being compact, fast, and straightforward. It aims to be the "go-to" language that people use when they want to write a program.
Clone the repository:
git clone https://github.com/aarikpokras/CxL
Enter the directory and run
sh configure.sh
Keep lib
and cxlc-win.py
in your directory when compiling CxL programs. You can rename cxlc-win.py to cxlc.py:
Remove-Item cxlc.py
Move-Item cxlc-win.py cxlc.py
del cxlc.py
ren cxlc-win.py cxlc.py
It should be set up!
Next, see Your first CxL program.
See using data for more.
Type | Description | Equivalent in C++ |
---|---|---|
str |
A string of characters | char arrays or std::string |
num |
A number | double , float , and int , all in one. |
any |
Either str or num |
double , float , and int , all in one. |
strarr |
An array of str s |
string arrays |