π
<-

nBrainfuck - A simple brainf**k interpreter on Nspire

Pour TI-Nspire OS 3.0 ou ultérieur.

nBrainfuck - A simple brainf**k interpreter on Nspire

Unread postby maxalex » 18 Jun 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. :p

Here is the screenshot:
Image

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
Last edited by maxalex on 19 Jun 2020, 02:11, edited 1 time in total.
User avatar
maxalex
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Level up: 28%
 
Posts: 2
Joined: 09 Jul 2018, 13:40
Location: China
Gender: Male
Calculator(s):
MyCalcs profile
Facebook: Max Mix Alex
GitHub: zyf722

Re: nBrainfuck - A simple brainf**k interpreter on Nspire

Unread postby Adriweb » 18 Jun 2020, 18:10

Nice and fun :)

MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 79.9%
 
Posts: 14836
Images: 1131
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb


Return to Nspire-Lua

Who is online

Users browsing this forum: ClaudeBot [spider] and 4 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1180 utilisateurs:
>1174 invités
>1 membre
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)