bext-lang/b has 727 GitHub stars and 96 forks. GitHot measured 0 stars in 24 hours and +2 in 7 days. Last checked 2026-11-23 10:30 UTC. Last push 2025-10-29.
計測したスター増加
- 24時間
- 0
- 7日間
- +2
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
概要
Compiler for the B Programming Language implemented in Crust
開発ツールREADME.md
オリジナル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.
Quick Start
$ make
$ ./build/b -run ./examples/hello_world.b
Also check out more examples at ./examples/. Find the project documentation at ./docs/.
Dependencies
Generally, to write programs for the three major contemporary platforms (Linux, Windows, Darwin) you need only these things:
- Rust - the compiler is written in it;
- GCC or Clang or mingw-w64 (whatever serves as the
ccon your POSIX platform) - thex86_64andaarch64targets generate assembly and pass it toccto assemble and link.
If you feel like playing with our "spicy" targets, you will need to setup few additional things.
uxn
Uxn is a pretty cool small virtual machine designed to be simple and portable.
This compiler toolchain expects the uxnemu and uxncli executables to be available in the $PATH environment variable. We recommend to build them from the source code available at https://git.sr.ht/~rabbits/uxn. Follow their build instructions and then copy the contents of the bin/ folder somewhere were the $PATH points at.
6502-posix
MOS Technology 6502 is a legendary processor that was used in such systems as the Atari 2600, Atari 8-bit computers, Apple II, Nintendo Entertainment System, Commodore 64, Atari Lynx, BBC Micro and others.
Since "targeting 6502" doesn't really mean anything, given the diverse array of hardware, we created a special target called posix6502. It's a simple 6502 emulator that exposes some POSIX functionality to programs running on the 6502 processor, allowing them to operate in a POSIX environment. We use it as a testing and playground target for 6502 codegen. In the future, we may add more 6502-related targets.
It consist of a single posix6502 executable which is expected to be available to the compiler toolchain via the $PATH environment variable. We recommend to build it from the source code:
$ git clone https://github.com/bext-lang/posix6502 && cd posix6502
$ cc -o nob nob.c
$ ./nob
Copy the build/posix6502 executable somewhere were the $PATH points at.
Thirdparty Codegens in the Wild
- .NET/Mono Bext Codegen
- SH4AL-DSP (Casio Prizm/fx-CG50)
- Basm target for bext-lang/b
- Custom Bext Bytecode
- MSVC Bext Codegen
Submit a PR to add yours to the list above here
References
関連プロジェクトを探す
読み込み中…