34 lines
647 B
Markdown
34 lines
647 B
Markdown
Gir is an optimizing brainfuck interpreter in Javascript.
|
|
|
|
Name
|
|
----
|
|
𒌋𒀜 gir (Sumerian) - n. kiln
|
|
|
|
License
|
|
-------
|
|
Everything in the repo is under Unlicense / CC0.
|
|
|
|
Status
|
|
------
|
|
Gir can parse, prettyprint, and run programs in brainfuck.
|
|
Gir supports following optimizations:
|
|
|
|
* Turn runs of +- or <> into one command
|
|
* Turn [-] or [+] into one command
|
|
* Add offsets to commands that modify tape, to reduce moving tape head
|
|
* Turn multiply loops into one command
|
|
|
|
TODO
|
|
----
|
|
### gir.js
|
|
* Move `ircbotRun()` into its own file
|
|
|
|
### gir.html
|
|
* Implement a UI
|
|
|
|
### Documentation
|
|
* Document the overall architecture
|
|
|
|
### General
|
|
* Get this on NPM?
|