| Crates.io | bitsyc |
| lib.rs | bitsyc |
| version | 0.2.0 |
| created_at | 2023-06-29 22:02:11.224246+00 |
| updated_at | 2023-06-30 14:19:05.337582+00 |
| description | Bitsy compiler written in Rust. |
| homepage | |
| repository | https://github.com/RigoOnRails/bitsyc |
| max_upload_size | |
| id | 903795 |
| size | 27,617 |
bitsyc is a compiler for the Bitsy programming language. Bitsy is a small, not-very-useful language. Its primary purpose is to be the best language to implement for programmers wanting to build a compiler or interpreter for the first time.
You can find the language spec document here: @apbendi/bitsyspec.
$ cargo install bitsyc
This will compile down to machine code for your platform. The code generation is done using LLVM.
$ bitsyc example.bitsy
To execute your code, just run:
$ ./example