Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ b Public
forked from bext-lang/b

Compiler for the B Programming Language implemented in Crust

License

Notifications You must be signed in to change notification settings

xi816/b

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

384 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

B Programming Language

Warning

Compiler is not fully implemented yet.

Logo by Strawberry 🍓

Compiler for the B Programming Language implemented in Crust

Dependencies

  • Rust - the compiler is written in it;
  • fasm - used as the compiler backend;
  • clang - for linking with the C runtime;

Quick Start

$ make
$ ./build/b -run ./examples/01_hello_world.b

Uxn

The compiler supports Uxn target. Make sure you have uxnemu in your $PATH if you want to use -run flag.

GC32

The compiler supports Govno Core 32 target. Make sure you have gc32 and kasm in your $PATH if you are compiling for this target.

$ ./build/b -t govnocore32 -run ./examples/01_hello_world.b ./std/gc32.b

Also check out more examples at ./examples/.

References

About

Compiler for the B Programming Language implemented in Crust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 94.5%
  • Limbo 4.3%
  • Makefile 1.2%