Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 942 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 942 Bytes

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