Headache

Headache is a programming language that compiles to 8-Bit Brainfuck.

Documentation

For documentation, please visit:

=> Headache's wiki

Support Headache

Help Headache. Download it, report bugs, send money to R&D

Build

You may build the project by running make.

Install

Run make install and the include $HOME/.Headache/ in your PATH variable in order to enable hac and bfi in your shell.

Usage

Compiling headache (.ha) files

In order to compile headache (.ha) files to brainfuck, run:

./hac file.ha

It generates and executes a brainfuck file named a.bf.

Options

Lexical analyzer

To run a lexical analyzer, execute:

./hac -lex

Syntactical Analyzer

To run a syntactical analyzer, execute:

./hac -syntax

AST

To output the current program's AST, execute:

./hac -tree

Warning and errors checking

To check for errors and warnings without compiling, execute:

./hac -check

Tests

Execute make test to run the default tests.

Other test options

For testing only type checks, run:

make testchecks

For testing only the lexical scope, run:

make testlexical

For testing only the syntax scope, run:

make testsyntax

For testing only programs that are compiled and run successfully, run:

make testrunnable

Donation Addresses:

Support Headache with cryptocurrency:

Proxy Information
Original URL
gemini://menezesworks.com/headache.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en
Capsule Response Time
577.962901 milliseconds
Gemini-to-HTML Time
1.547526 milliseconds

This content has been proxied by September (3851b).