💾 Archived View for menezesworks.com › headache.gmi captured on 2024-08-31 at 11:13:24. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-08-24)
-=-=-=-=-=-=-
Headache is a programming language that compiles to 8-Bit Brainfuck.
For documentation, please visit:
Help Headache. Download it, report bugs, send money to R&D
You may build the project by running `make`.
Run `make install` and the include `$HOME/.Headache/` in your `PATH` variable in order to enable `hac` and `bfi` in your shell.
In order to compile `headache` (.ha) files to `brainfuck`, run:
./hac file.ha
It generates and executes a brainfuck file named `a.bf`.
To run a lexical analyzer, execute:
./hac -lex
To run a syntactical analyzer, execute:
./hac -syntax
To output the current program's AST, execute:
./hac -tree
To check for errors and warnings without compiling, execute:
./hac -check
Execute `make test` to run the default tests.
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
Support Headache with cryptocurrency:
- `BTC`: 1NcdcAjkKj9ywiCfinwFi1W3QfsvFSFsAH
- `Doge`: D5wEBGcwLeBSQvwnBckco1EvQQcuXCBvRj
- `LTC`: Ldj6ax1CzdYFRbSiZjpCvcPoxQ2BvX42Kb
- `ZEC`: t1PsMPGuoZfD5YwAgmyd3j2cb8siysxR9fE
- `Dash`: Xt7qYtLiLx6mHR1fUeQVYiHgEbX7YNugM2
- `BCH`: 1NCYSnFb44ybHtzwG51cUYWLa67PZdsREG
- `XMR`: 4CTKuktQ8eQFriMu3xDALEawuu9iWQhFYffgffqgC3RHCWgcLGTG9oyNWgvLiAoDPpYUvsJmRkTAudGSXNqnRFsuT9LNU3Up81F2x3fzkj