Skip to content

f0xeri/SlangCompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4d9e29a · Apr 26, 2024

History

98 Commits
Feb 22, 2024
Mar 15, 2024
Mar 10, 2024
Mar 7, 2024
Mar 15, 2024
Mar 10, 2024
Feb 24, 2024
Dec 12, 2023
Apr 26, 2024
Mar 3, 2024
Mar 10, 2024
Feb 22, 2024
Mar 15, 2024
Mar 9, 2024
Feb 22, 2024
Mar 9, 2024
Nov 30, 2023

Repository files navigation

Slangc

LLVM-based compiler for Slang - educational programming language.

https://slangdocs.readthedocs.io/ru/latest/

Building

Clone the repository

git clone https://github.com/f0xeri/SlangCompiler

Install LLVM 18 and libgc-dev

sudo wget https://apt.llvm.org/llvm.sh &&
sudo bash ./llvm.sh 18 all &&
sudo apt-get install libgc-dev -y

Build the project

cd SlangCompiler
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release

Run tests

cd tests &&
python -m setSlangcPath "../build/slangc" && python -m unittest runTests.py