Skip to content
/ bee Public

A small experimental programming language with static typing, static scoping, and LLVM-based code generation.

License

Notifications You must be signed in to change notification settings

primepvi/bee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐝 bee

A small experimental programming language with static typing, static scoping, and LLVM-based code generation.

Example

More examples can be found on examples folder

const message = "Hello, World";
const response: @static string = "Hello, Bee";
var fvalue: float32;

begin :a
  var age: @static int32 = 18;
  var year: int32 = 2025;
  
  begin
    var age: int32 = 20;
    var other_age = age;
    age = 18;
    fvalue = -15.5;
  end 
end

Build

Requires Rust and LLVM.

$ cargo build --release

Usage

Run (JIT):

$ bee examples/block.bee

Compile to LLVM IR:

$ bee -c examples/block.bee -o examples/block.ll

Status

Early development. Includes lexer, parser, semantic analysis, and basic LLVM IR generation.

About

A small experimental programming language with static typing, static scoping, and LLVM-based code generation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published