All Projects → LucasMW → Headache

LucasMW / Headache

Licence: MIT license
Programming Language that compiles to 8 Bit Brainfuck

Programming Languages

c
50402 projects - #5 most used programming language
Yacc
648 projects
swift
15916 projects
Brainfuck
56 projects
Makefile
30231 projects
Lex
420 projects

Projects that are alternatives of or similar to Headache

esoo
Like the Programming Languages Zoo but with esoteric languages.
Stars: ✭ 18 (-69.49%)
Mutual labels:  brainfuck, esoteric, esoteric-programming-language
Ratel Core
High performance JavaScript to JavaScript compiler with a Rust core
Stars: ✭ 367 (+522.03%)
Mutual labels:  ast, transpiler
py2many
Transpiler of Python to many other languages
Stars: ✭ 420 (+611.86%)
Mutual labels:  ast, transpiler
Brainfuck
A flexible Brainfuck / Brainloller / Braincopter interpreter in Swift 3.1.
Stars: ✭ 13 (-77.97%)
Mutual labels:  brainfuck, esoteric-programming-language
ucast
Conditions query translator for everything
Stars: ✭ 76 (+28.81%)
Mutual labels:  translator, ast
php2python
Convert PHP code to Python under CGI (beta)
Stars: ✭ 44 (-25.42%)
Mutual labels:  translator, ast
bfpile
Optimizing Brainfuck compiler, transpiler and interpreter
Stars: ✭ 19 (-67.8%)
Mutual labels:  brainfuck, transpiler
claw-compiler
CLAW Compiler for Performance Portability
Stars: ✭ 38 (-35.59%)
Mutual labels:  translator, transpiler
rathilang
A small gift for someone who did big things (Python Package)
Stars: ✭ 14 (-76.27%)
Mutual labels:  brainfuck, esoteric
gradle2kts
Gradle Groovy to Gradle Kotlin conversion tool - discontinued spike
Stars: ✭ 34 (-42.37%)
Mutual labels:  ast
TypeInferencer
Algorithm W and Algorithm M in F#
Stars: ✭ 33 (-44.07%)
Mutual labels:  ast
go-mlog
Go to Mindustry (MLOG) compiler, runtime and decompiler (WIP)
Stars: ✭ 19 (-67.8%)
Mutual labels:  transpiler
redot
Graphviz dot file processor powered by plugins based on @unifiedjs
Stars: ✭ 60 (+1.69%)
Mutual labels:  ast
MemeAssembly
A Meme-based programming language
Stars: ✭ 31 (-47.46%)
Mutual labels:  esoteric-programming-language
ShenScript
Shen for JavaScript
Stars: ✭ 40 (-32.2%)
Mutual labels:  transpiler
tr4n5l4te
Use Google Translate without an API key.
Stars: ✭ 32 (-45.76%)
Mutual labels:  translator
qsel
Quantum programming language putting entanglement and superposition front and center
Stars: ✭ 37 (-37.29%)
Mutual labels:  esoteric-programming-language
SimpleTranslationSystem
A simple C# translation system
Stars: ✭ 14 (-76.27%)
Mutual labels:  translator
BrainfuckIDE
A Brainfuck IDE/debugger designed to be intuitive, featureful and visually appealing
Stars: ✭ 77 (+30.51%)
Mutual labels:  brainfuck
wx2bd
微信和百度小程序的互转工具,脚本转换率目标为100%,持续更新中~~
Stars: ✭ 21 (-64.41%)
Mutual labels:  ast

Headache

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

Documentation

For documentation, please visit Headache's wiki: https://github.com/LucasMW/Headache/wiki

Support Headache

Help Headache launch on Homebrew. This repository needs 50 stargazers to become a brew package.

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 hac

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 checking the file only, run:

make testchecks

For testing only the lexical scope, run:

make testlexical

For testing only the syntactical scope, run:

make testsyntax

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

make testrunnable

Donation Addresses:

Support Headache with cryptocurrency:

  • BTC: 1NcdcAjkKj9ywiCfinwFi1W3QfsvFSFsAH
  • Doge: D5wEBGcwLeBSQvwnBckco1EvQQcuXCBvRj
  • LTC: Ldj6ax1CzdYFRbSiZjpCvcPoxQ2BvX42Kb
  • ZEC: t1PsMPGuoZfD5YwAgmyd3j2cb8siysxR9fE
  • Dash: Xt7qYtLiLx6mHR1fUeQVYiHgEbX7YNugM2
  • BCH: 1NCYSnFb44ybHtzwG51cUYWLa67PZdsREG
  • XMR: 4CTKuktQ8eQFriMu3xDALEawuu9iWQhFYffgffqgC3RHCWgcLGTG9oyNWgvLiAoDPpYUvsJmRkTAudGSXNqnRFsuT9LNU3Up81F2x3fzkj
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].