Skip to content
/ bl Public
forked from travisdoor/bl

Simple imperative programming language created for fun.

License

Notifications You must be signed in to change notification settings

janakbist/bl

 
 

Repository files navigation

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 and not ready for "real" use yet. Biscuit is designed to be simple, fast and explicit.

Project homepage: biscuitlang.org
Contact email: biscuitlang@gmail.com

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.

Installation

See installation guide here.

Example

main :: fn () s32 {
    return fib(10);
}

fib :: fn (n: s32) s32 {
    if n == 0 || n == 1 {
        return n;
    } else {
        return fib(n-1) + fib(n-2);
    }
    
    return -1;
}

About

Simple imperative programming language created for fun.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 94.0%
  • C++ 3.3%
  • CMake 1.1%
  • SourcePawn 0.6%
  • Emacs Lisp 0.6%
  • Vim Script 0.3%
  • Other 0.1%