36 lines
865 B
Markdown
36 lines
865 B
Markdown
# 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](https://www.youtube.com/watch?v=xvFZjo5PgG0).
|
|
|
|
### Build
|
|
|
|
##### Windows
|
|
|
|
```powershell
|
|
git clone https://github.com/PashaBibko/LXC.git LXC
|
|
cd LXC
|
|
git submodule update --init --recursive
|
|
mkdir build
|
|
cd build
|
|
cmake .. -G Ninja
|
|
cmake --build .
|
|
```
|
|
|
|
##### UNIX based
|
|
|
|
```bash
|
|
git clone https://github.com/PashaBibko/LXC.git LXC
|
|
cd LXC
|
|
git submodule update --init --recursive
|
|
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](https://github.com/PashaBibko/LXC/tree/main/Common/modules).
|