Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Ovnize on December 17, 2013, 11:57:11 am

Title: BF*k 83+
Post by: Ovnize on December 17, 2013, 11:57:11 am
Hey ! Before reading this, if you don't know anything about Brainfuck, you should get a see at the wikipedia page (http://en.wikipedia.org/wiki/Brainfuck).
For my first complete program, I wanted this 'cause it is not so hard to do, and it is a great challenge.
The program has to be stored in Str1, and a list called BF will be made during the execution of the program (but you can choose to automatically delete it at the end of the execution if you want).
You can choose the debug mode, with some things that are displayed at the top of the screen :
And, you'll have to activate every step with Enter.
In normal mode, only things that the programs chooses to display will appear on the screen, and all steps will be activated automatically.

Done :

To do :

As soon as all the commands will be made, I'll put a download link, but if you want complete version, you're gonna have to download it at every versions.

EDIT : I've noticed I didn't say it, but it is in TI-Basic. :]
Title: Re: BF*k 83+
Post by: Eiyeron on December 17, 2013, 12:09:34 pm
Hey! Nice idea, BF helps dealing with spare time. Idea for input : use Lists, Strings or directly input.
Title: Re: BF*k 83+
Post by: Sorunome on December 17, 2013, 12:21:14 pm
yay, BF is fun :D
Title: Re: BF*k 83+
Post by: Eiyeron on December 17, 2013, 12:22:14 pm
It's f***in fun! ;p
Title: Re: BF*k 83+
Post by: Ovnize on December 17, 2013, 12:22:53 pm
For the input, I think I'm gonna use Input Str#, then convert it with something like "123456789101112131415..." and sub(). But if you've got a better Idea, let me know it !

I've noticed I didn't say it, but it is in TI-Basic. :]
Title: Re: BF*k 83+
Post by: Lunar Fire on December 17, 2013, 12:42:03 pm
I did this a while back on Ti-83+, it's actually pretty fun to do. While this is not extremely hard it is a great learning experience.

I was into really esoteric languages a while back. I wanted to do a Piet interpreter, then remembered that I could not get 20 colors on a monochrome display XD
Title: Re: BF*k 83+
Post by: DJ Omnimaga on December 17, 2013, 12:54:01 pm
What I would like to see is a game being made from one of those TI-BASIC brainf*** interpreters. :P
Title: Re: BF*k 83+
Post by: Ovnize on December 17, 2013, 12:56:10 pm
Making a game in BF is maybe too hard for me x]
I only know how to make Additions, Substractions and how to copy numbers, and not in ASCII.
Title: Re: BF*k 83+
Post by: Sorunome on December 17, 2013, 12:56:36 pm
How quick is it btw?
Title: Re: BF*k 83+
Post by: Ovnize on December 17, 2013, 01:01:33 pm
30cs for >, <, + and -
60cs for [ and ]
And I haven't made . and ,
Title: Re: BF*k 83+
Post by: fb39ca4 on December 17, 2013, 05:13:46 pm
Self modifying brainf*** would be interesting to see, but it would require the code to be placed in the same address space as the data.
Title: Re: BF*k 83+
Post by: Deep Toaster on December 17, 2013, 09:34:08 pm
Self modifying brainf*** would be interesting to see, but it would require the code to be placed in the same address space as the data.
In case the language itself doesn't kill you, let's throw in SMC to screw it up some more? D:

Nice project though. I'd like to see how the debug menu might work—debugging Brainfuck sounds like an interesting task.
Title: Re: BF*k 83+
Post by: Sorunome on December 18, 2013, 07:50:11 am
Self modifying brainf*** would be interesting to see, but it would require the code to be placed in the same address space as the data.
In case the language itself doesn't kill you, let's throw in SMC to screw it up some more? D:

Nice project though. I'd like to see how the debug menu might work—debugging Brainfuck sounds like an interesting task.
There is a online debugger here (http://www.iamcal.com/misc/bf_debug/)
Title: Re: BF*k 83+
Post by: pimathbrainiac on December 20, 2013, 08:03:37 pm
I want to use this, but I have no idea how to make BF programs.

Will someone please make a tutorial? :D
Title: Re: BF*k 83+
Post by: Sorunome on December 20, 2013, 08:09:44 pm
BF is pretty simple, that is what makes it hard.
It only has 8 commands, all are explained here:
http://esolangs.org/wiki/Brainfuck