e

esotefy

@preview

A brainfuck implementation in pure Typst

v1.0.0
MIT

Esotefy

A compilation of esoteric languages including for now brainfuck

Examples

In pure brainfuck

#import "@preview/esotefy:1.0.0": brainf;

#brainf("++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.");

Into

image

With inputs

#import "@preview/esotefy:1.0.0": brainf;

#brainf("++++++++++++++[->,.<]", inp: "Goodbye World!");

Into

image

I've based my implementation from theses documents:

Version History

1.0.00.7.0
289e576763fa...