Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.33 KB

File metadata and controls

42 lines (33 loc) · 1.33 KB

Go-Fck

A Brainfck implementation written in Go

gopher

What is Go-Fck

Go-Fck is the worlds most memory efficient brainfck implementation. We support file linking, so your brainfck project can scale to your development team. This project ships two binaries, bf and bfc.

bfc

Brainfck compile, or bfc compiles your brainfck into an optimized "binary" that can be ran with bf or ran through any external brainfck interpretter. It generates a two line file of a dynamic symbol table and raw brainfck code. bfc will link multiple .bf files together in a larger project into a single binary.

bf

The brainfck command, or bf is a brainfck interpretter that accepts any form of valid brainfck. This is commonly paired with bfc to run compiled brainfck in a more efficient manner. The workflow would look something like the following:

bfc main.bf linkable.bf function.bf -o program.bin
bf program.bin
> Hello World!

bf can only run single-file source-code programs. If your team is running more than one file, you must compile your program with bfc first. This ensures compatability with other brainfck interpretters

Getting Started

Pre-requisites

  • Golang >= 1.23.3
  • Probably Linux

How to Build

Use build.sh