howl.moe

(no title)

Published (click to see context) on 23/01/2022 by Morgan Bazalgette • 1 minute

Fun fact: there is a brainfuck compiler written in brainfuck: https://github.com/matslina/awib (Yes, you read that right. It directly compiles to 386 linux binaries)

This means that, combined with the interpeter dbfi (http://brainfuck.org/), you can:

  1. Create a trivial and dumb brainfuck interpeter yourself in your programming language of choice
  2. Run the awib source on itself using your interpeter to get an awib compiler generated by itself
  3. Use the awib compiler on dbfi to have an executable of a brainfuck interpeter made by a brainfuck compiler compiled by itself.

A toy language, huh?