Skip to content
/ zbfi Public

BrainFuck 🤖 language interpreter written in Zig

License

Notifications You must be signed in to change notification settings

prajwalch/zbfi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zbfi

zbfi is a BrainFuck programming language interpreter written in zig. It is written only to learn zig for myself but you can experiment with the code however you like.

Building

To build the project you only need to have a zig compiler - v0.9.0 All the install instructions are there, so download and install it according to the instructions then follow the below steps.

  1. Clone it with git clone --recursive https://github.com/PrajwalCH/zbfi
  2. Change directory to zbfi
  3. Run zig build -Drelease-safe=true to build it.
  4. And at last run ./zig-out/bin/zbfi for interactive mode or ./zig-out/bin -f <file name> to run source file