Skip to content

amityahav/brainfuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainfuck Interpreter / JIT Compiler

This project was inspired by the amazing TsodingDaily.

it was made in order to experiment with building basic compilers/ interpreters and messing around with assembly.

NOTE:

  • I did not implement the , instruction of the language for simplicity.
  • Memory assigned to the brainfuck program is 8KB.
  • I did not enforce validations over memory's out of bound access.

HOW TO BUILD:

Prerequisites:

  • Golang 1.18+

  • cd to project's directory

Supported architectures:

  • AMD64

Supported operating systems:

  • Darwin make build-darwin
  • Linux make build-linux

HOW TO RUN:

./bf interpret ./hello_world.bf

./bf compile ./hello_world.bf

About

Brainfuck language interpreter/ JIT compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published