nBrainfuck - A simple brainf**k interpreter on Nspire
Posté: 18 Juin 2020, 06:32
Hi everyone, recently I found this interesting language called Brainf**k.
It's simple and quite easy to learn, so I decided to port it to Nspire.
The original Lua interpreter for Brainf**k is written by Francois Perrad. I made some small changes based on it, in order to make it run correctly on TI-Nspire.
Here is the screenshot:
On the page 1.1 is the Interpreter. When you open the document or switch to this page, it will try to run the Brainf**k code in the clipboard (if there is).
On the page 2.1 is a brief introduction of Brainf**k from English Wikipedia. It may be some help for you to learn and know about Brainf**k.
There are two examples on the page 2.2("Hello, world!") and 2.3(a simple program to test input). You can copy them and switch to page 1.1 to test.
Download here: https://tiplanet.org/forum/archives_voir.php?id=2626331
It's simple and quite easy to learn, so I decided to port it to Nspire.
The original Lua interpreter for Brainf**k is written by Francois Perrad. I made some small changes based on it, in order to make it run correctly on TI-Nspire.
Here is the screenshot:
On the page 1.1 is the Interpreter. When you open the document or switch to this page, it will try to run the Brainf**k code in the clipboard (if there is).
On the page 2.1 is a brief introduction of Brainf**k from English Wikipedia. It may be some help for you to learn and know about Brainf**k.
There are two examples on the page 2.2("Hello, world!") and 2.3(a simple program to test input). You can copy them and switch to page 1.1 to test.
Download here: https://tiplanet.org/forum/archives_voir.php?id=2626331