delta-lang / Delta
Programming Languages
Projects that are alternatives of or similar to Delta
Delta Programming Language
Delta is a high-performance programming language designed to improve programmer productivity. The project is still in early stages of development: some planned features have not yet been implemented, existing ones are subject to change, and the documentation is scarce.
Learn more about the language at https://delta-lang.github.io.
Contributing
Contributions are welcome and encouraged. See the GitHub issues and the Trello board for the project backlog. To ask a question or open a discussion, create an issue or join the Delta Discord server.
Building from source
Compiling Delta requires a C++17 compiler, CMake, and LLVM/Clang 11.
-
Download and extract LLVM/Clang 11 pre-built binaries for your platform from https://releases.llvm.org/download.html. Then run the following commands:
mkdir build cd build cmake .. -DCMAKE_PREFIX_PATH="/path/to/llvm"
-
Download and extract LLVM/Clang 11 pre-built binaries from somewhere, such as https://ziglang.org/deps/llvm%2bclang%2blld-11.0.0-x86_64-windows-msvc-release-mt.tar.xz (consider sponsoring Zig). Then run the following commands:
mkdir build cd build cmake .. -DCMAKE_PREFIX_PATH="C:\path\to\llvm" -DCMAKE_GENERATOR_PLATFORM=x64 -Thost=x64
To run the tests, install lit via pip, e.g.:
sudo python -m pip install lit
After this, the following commands can be invoked from the build
directory:
-
cmake --build .
builds the project. -
cmake --build . --target check
runs the test suite.
The C++ code style is enforced by ClangFormat and ClangTidy:
- Run the
format
CMake target to format the code. - Run the
lint
CMake target to check if the code is formatted.
License
This implementation of Delta is licensed under the MIT license, a permissive free software license. See the file LICENSE.txt for the full license text.