bitsyc

Crates.iobitsyc
lib.rsbitsyc
version0.2.0
sourcesrc
created_at2023-06-29 22:02:11.224246
updated_at2023-06-30 14:19:05.337582
descriptionBitsy compiler written in Rust.
homepage
repositoryhttps://github.com/RigoOnRails/bitsyc
max_upload_size
id903795
size27,617
Rigo (RigoOnRails)

documentation

README

bitsyc

crates.io "Lint & run tests" workflow

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.

Installation

$ cargo install bitsyc

Compiling a Bitsy program

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
Commit count: 50

cargo fmt