Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 589 Bytes

README.md

File metadata and controls

3 lines (2 loc) · 589 Bytes

BrainFuck

An implementation of the popular BrainFuck esoteric programming language in Haskell. The compiler outputs x86_64 Intel assembly that is designed to be assembled with the yasm assembler. The compiler produces assembly that isn't fully optimised but we perform optimisations such as constant folding by taking the summation of consecutive '+'/'-' or '<'/'>' as to cut down on lines of code and improve performance ever so slightly.