Experimental programming language.
It is a compilable, statically-typed C++/Rust-like language.
The sources of the compiler for this language and some related tools are located here. Also standard library sources and documentation sources are located in this repository.
Documentation is available here: russian, english.
- Download LLVM sources here (llvm 15.0.7 used in this project).
- Run cmake for source/CMakeLists.txt and generate project for your favorite IDE or build system. You must set LLVM_SRC_DIR in cmake arguments.
- In order to speed-up the build you may disable building of unnecessary targets via LLVM_TARGETS_TO_BUILD cmake variable. For example set it to X86 only.
- It is recommended to disable LLVM tests and benchmarks. See LLVM documentation for more information.
- Perform the build
- Install proper version of LLVM libraries via your system packet manager or download it manually here.
- Run cmake for source/CMakeLists.txt with LLVM_LIB_DIR specified.
- Perform the build.
Some components are optional and may be disabled via cmake options (see source/CMakeLists.txt).
Python 3 is required to build and run tests, written in Python.
Sphynx is required to build documentation.
For more information/examples see build scripts in ci directory.
The compiler downloads are available on the actions page - as action artifacts. It's recommended to use latest build of the master branch.
Copyright © 2016-2024 "Panzerschrek".