~rabbits/fractran

Fractran interpreter, written in C89
Use new comments format
(compiler) Boilerplate
Starting new compiler

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~rabbits/fractran
read/write
git@git.sr.ht:~rabbits/fractran

You can also use your local clone with git send-email.

#Fractran

A fractran playground based on rewrite rules.

#Build

cc src/fractran.c -o bin/fractran

#Run

To run a project without interaction:

./bin/fractran example/fizzbuzz.fra

To run a project interactively:

./bin/fractran -i example/tictactoe.fra

#Manual

:: reserve-name 

:: foo bar > baz
:: abc > def ghi

accumulator: bar abc foo