Krabbascript is a statically typed, AOT compiled, high level programming language designed to be easy to write and read.
Caution
This project is still in its early stages, so expect a lot of unfinished stuff. Check-out our Discord for news and progress on Krabbascript!
Krabbascript mixes C, Lua, and Python together to form simple, and easy to learn syntax.
Git is for cloning Krabbascript's source code. You can check if Git is installed with:
git --versionYou can then clone the repo with
git clone https://github.com/khytryy/krabbascriptTo build Krabbascript, you have to use GNU Make or compatible, or CMake.
Krabbascript is written in C, and requires a C compiler do build. I genuinely recommend that you use gcc to build the compiler, because its set as default in the Makefile. If you cant use gcc for some reason, you can edit CC variable to the compiler you want in the Makefile.
make && sudo make installThis creates the final binary in the project's directory and copies the compiler to /usr/local/bin/kscript.
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
sudo cmake --install build
This builds the binary in build/ and copies the compiler to CMake's default install location under bin/.
- tomlc17, MIT License