Skip to content

The Headache Language

LucasMW edited this page Jan 23, 2018 · 4 revisions

The Headache programming language is a Turing Complete language for generating brainfuck programs. It borrows its syntax from C and monga.

Headache was designed to be the most lightweight technology to compile brainfuck programs, and it can be downloaded with git clone, and builded with make, flex and bison in any unix-like system.

It's compiler, hac, is capable of transpiling headache programs into brainfuck. The generated brainfuck programs can be run in any decent 8 bit brainfuck interpreter.

Headache is also bundled with a custom brainfuck interpreter that includes extra features useful for debugging

Headache is also bundled with an expander program. This program can transform 8 bit brainfuck programs into 16 bit programs, 32 bit programs and so on.

Last, but not least, Headache is bundled with bfalgoConverter program, an utility for converting Brainfuck Algorithms webpage's sample pseudocode into bfalgo() calls inside Headache's source code, i.e. is a tool for developers to make it easier to update Headache with new brainfuck algorithms