The Headache Programming Language

Headache is a programming language which compiles to 8 bit brainfuck

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

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

menezesworks.com/headache.gmi

/u/LucasMW/image/336.jpeg

Poll Results

1. Like

โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–โ– 90%

2. Dislike

โ–ˆโ–ˆโ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ–โ– 10%

20 votes were cast.

#headache #language ๐Ÿ“Œ ๐Ÿ—ณ๏ธ #programming

Posted in: s/programming

๐Ÿš€ LucasMW

2024-08-23 ยท 2 years ago ยท ๐Ÿ‘ eddos

6 Comments โ†“

๐Ÿš€ random2934 ยท 2024-08-30 at 12:04:

wow this is awersome. :D

๐Ÿš€ LucasMW [OP] ยท 2024-08-30 at 23:00:

Thanks!

๐Ÿ˜บ swee ยท 2025-01-17 at 03:18:

A work of art

๐Ÿฆ” bsj38381 ยท 2025-07-13 at 19:57:

Looks pretty interesting, I'm still wondering how I'll continue on my esoteric programming language, PolkaPy.

๐ŸŒง๏ธ candycanearter [โœ๏ธ] ยท 2025-07-14 at 14:16:

cool project, but isnt brainfk supposed to be hard to code in on purpose?

๐Ÿš€ LucasMW [OP] ยท 2025-07-14 at 16:05:

@candycanearter Yes. And Headache language is to make it not that difficult to normal programmers.