Skip to content

brensen11/brainflip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainflip

A few toy bf interpreters, compiler, and a collection of benches.

Build and Compile

This compiler is meant for a windows x64 machine. You must have nasm, gcc, and go installed.

Build the Compiler

cd brainflip-go
go build compiler/bfc.go

Compile a program to assembly

./bfc <path/to/program_name.b>

Link and Assembly the program

make <program_name>

Full Example

cd brainflip-go
go build compiler/bfc.go
./bfc ../benches/hello.b
make hello
./hello.exe

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published