Skip to content

Biscuit Language

The Biscuit Language (BL) is simple imperative programming language using LLVM backend implemented in C. Language syntax and all it's features are still in development and not ready for "real" use yet. Biscuit is designed to be simple, fast and explicit.

Download

0.6.0 - BETA (May 5, 2020)

Documentation

File Platform Kind
blc-0.6.0-win64.zip Windows 64 bit Binary
blc-0.6.0-macos.zip macOS Binary
blc-0.6.0-source.zip - Source

Installation from source code

Following guide uses master branch as default which contains latest unstable changes, if you want to use stable version, please specify one of the release branches during clone or checkout.

Requirements

  • git
  • CMake
  • LLVM 10
  • GCC/CLANG/Visual Studio compiler

Windows

You will need Visual Studio 2019 installed on your machine.

  • Run shell as an administrator.
  • Download and compile bl.
git clone https://github.com/travisdoor/bl.git
cd bl
mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -Thost=x64 -DCMAKE_BUILD_TYPE=Release
  • Now you should be able to compile the bl target from the Visual Studio or from the terminal with following command.
cmake --build . --config Release
  • Use this for installation into Program Files
cmake --build . --config Release --target Install
  • Run bl.conf file generation
blc.exe -configure

macOS

  • Install command line tools.
xcode-select --install
  • Install LLVM 10 dev packages with your favourite package manager. Brew:
brew install llvm@10
  • Download and compile bl.
git clone https://github.com/travisdoor/bl.git
cd bl
mkdir build
cd build
cmake ..
make
  • For installation use:
[sudo] make install
  • Run bl.conf file generation
[sudo] blc -configure

Linux

  • Install LLVM 10 dev packages with your favourite package manager.
sudo apt install llvm-dev 
  • Download and compile bl.
git clone https://github.com/travisdoor/bl.git
cd bl
mkdir build
cd build
cmake ..
make
  • For installation use:
[sudo] make install
  • Run bl.conf file generation
[sudo] blc -configure

Features & descriptions

  • Simple small language.
  • Manual memory management.
  • ABI compatibility with C libraries.
  • Opensource
  • Game development oriented.
  • Compilation to native binary.
  • Integrated interpreter.
  • Offer testing tools out of the box.
  • Rich type info in runtime.
  • Debuggable in gdb, lldb and Visual Studio.