bl icon indicating copy to clipboard operation
bl copied to clipboard

Simple imperative programming language created for fun.

About

Windows Linux macOS

Twitter URL

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. Biscuit is designed to be simple, fast and explicit.

Project homepage: biscuitlang.org Contact email: [email protected]

Features & descriptions

  • Simple small language.
  • 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.
  • Explicit function overload.
  • Integrated build system.
  • Integrated module import system.
  • Multiplatform (Windows, macOS, Linux)
  • Fast compilation.
  • Integrated tools for automatic documentation.

Installation

See installation guide here.

Example

HelloWorld :: struct {
    hello: s32;
    world: s32;
};

main :: fn () s32 {
    info :: cast(*TypeInfoStruct) typeinfo(HelloWorld);

    loop i := 0; i < info.members.len; i += 1 {
        print("% ", info.members[i].name);
    }
    print("!!!\n");
    
    return 0;
}

See more examples here.

Space Shooter

Source code here.