Skip to content

tsoding/b

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

B Programming Language

Warning

The Compiler is not fully implemented yet. Plus on its own it's probably not useful for any serious Software Development. It is fun for Recreational Programming though.

Logo by Strawberry 🍓

Compiler for the B Programming Language implemented in Crust.

Dependencies

  • Rust - the compiler is written in it;
  • GCC or Clang (whatever surves as the cc on your POSIX platform) - the x86_64 and aarch64 targets generate assembly and pass it to cc to assemble and link.

Quick Start

$ make
$ ./build/b -run ./examples/hello_world.b

Also check out more examples at ./examples/. Find the project documentation at ./docs/.

Contribution

Accepting Pull Requests is currently paused. We are in the middle of Decentralizing this repo. The plan is

  1. Create a separate organization for the language.
  2. Keep *x86_64* and *aarch64* codegens in the main repo.
  3. Move codegens 6502 (owner @Miezekatze64), uxn (owner @deniska), gas-sh4dsp-prizm (owner @seija-amanojaku) to separate repos within the organization and give the owners full admin access to them.

You can still submit PRs in the meantime. Just don't expect them to be reviewed any time soon since decouping codegens requires extensive refactoring. They will be addressed eventually.

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