Сompiled programming language created with support of basic features. The compiler is made using NASM & GoLink.
- Variables
- Declaring Without Value
- Return Statement
- String Variables
- Integer Variables
- Bool Variables
- Char Variables
- Math operations with precedence
- Logical Operators
- If Statement
- Elif Statement
- Else Statement
- One-Line Comments
- Multi-Line Comments
- Output
- Float Variables
- Const Variables
- Loops
- Input
Dependencies: Nasm x86-64, gcc Linker
Dependencies For Building: C++23
git clone https://github.com/TeMont/X-lang.git
cd X-lang
mkdir build
cd build
cmake ..
cmake --build .
int x = 2;
int y;
int o;
y = x + 8 * 2;
o = y / x;
return o;
./XComp.exe input.xy
./result.exe
9