Skip to content

saubuny/pybfc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pybfc, a Python Brainfuck Compiler

Run your esoteric programming language with an esoteric compiler! (Why would you write a compiler in Python??)

"Features"

  • Compiling Brainfuck to x86 fasm assembly (this means fasm is a dependency)
  • 1 byte cells (0-255) values
  • Linux x86 only (sowwy, i'm writing assembly by hand)
  • Yeah that's pretty much it

Installation/Usage

Clone the repo and run it yourself :) I believe you'll need at least python 3.10

Why???

Because I wanted to write something in Python (thank you boot.dev) and I wanted to write a compiler. But I barely know anything about compilers. Or assembly. So I should learn a lot. Brainfuck should be easy to parse since all the tokens are 1 character long, and theres only 8 of them. Simple.

Releases

No releases published

Packages

No packages published