2025-08-09 21:31:36 +01:00
2025-08-09 21:31:36 +01:00
2025-08-09 21:31:36 +01:00
2025-08-09 21:42:29 +01:00
2025-08-09 21:31:36 +01:00
2025-08-09 21:31:36 +01:00
2025-07-22 17:59:47 +01:00
2025-07-21 20:37:14 +01:00
2025-08-09 21:31:36 +01:00
2025-08-06 16:28:41 +01:00

LXC

LXC is a compiler to compile .lx files into .c files. LX is a custom langauge that I have developed, the documentation for the language (and compiler) can be found here WIP.

Build

Windows

Requirements:

Clone the repository and install all git-submodules.

git clone https://github.com/PashaBibko/LXC.git LXC
cd LXC
git submodule update --init --recursive

Build the project, Ninja is recommended for use on windows. VS22 can be used but requires additional setup. The outputted binaries are available in the root directory.

mkdir build
cd build
cmake .. -G Ninja 
cmake --build .
UNIX based

Clone the repository and install all git-submodules.

git clone https://github.com/PashaBibko/LXC.git LXC
cd LXC
git submodule update --init --recursive

Builds the project files, the outputted binaries will be available in the root directory.

mkdir build
cd build
cmake ..
cmake --build .
Other

Operating systems that are not listed above are not supported. To run the code you will have to modify it yourself. All code that should need to be changed is within the Common modules.

Example use

Some examples of LX code can be found within the examples folder. To compile them you will have to set the file location within LXC.cpp, this is temporary and in the future you will be able to call from the command line.

Description
No description provided
Readme MIT 605 KiB
Languages
C++ 92.8%
CMake 5.9%
Text 0.8%
Batchfile 0.5%