Skip to content

Get Started

LucasMW edited this page Jan 24, 2018 · 3 revisions

Get Started

First you may set the environment:


Headache generates brainfuck as output. So you might want to get a brainfuck interpreter.

But no worries, Headache comes with BFI a custom brainfuck interpreter for debugging

However, you can get any 8 bit interpreter to run the output code.


Get HAC (HeadAche Compiler).

  • Download HAC

See Releases section for more information

or

  • Clone and Build Headache

See Building Headache for more details


Set hac in your shell and test it.

void main() {
   @"Hello World!\n";
}

$./hac hello.ha

$./bfi a.bf

Hello World!

$

If those were your results everything should be working

Clone this wiki locally