Author Topic: BF*k 83+  (Read 3680 times)

0 Members and 1 Guest are viewing this topic.

Offline Ovnize

  • LV2 Member (Next: 40)
  • **
  • Posts: 26
  • Rating: +2/-0
    • View Profile
    • Ovnize.net (french)
BF*k 83+
« 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.
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 :
  • The place where the cursor is
  • What command the interpreter is executing
  • The value of the cell that the cursor is pointing
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 :
  • >
  • <
  • +
  • -
  • [
  • ]
  • Self growing list

To do :
  • ,
  • .
  • Options menu
  • Debug menu
  • Errors management

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. :]
« Last Edit: December 17, 2013, 12:25:14 pm by Ovnize »

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: BF*k 83+
« Reply #1 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.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: BF*k 83+
« Reply #2 on: December 17, 2013, 12:21:14 pm »
yay, BF is fun :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: BF*k 83+
« Reply #3 on: December 17, 2013, 12:22:14 pm »
It's f***in fun! ;p

Offline Ovnize

  • LV2 Member (Next: 40)
  • **
  • Posts: 26
  • Rating: +2/-0
    • View Profile
    • Ovnize.net (french)
Re: BF*k 83+
« Reply #4 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. :]
« Last Edit: December 17, 2013, 12:25:26 pm by Ovnize »

Offline Lunar Fire

  • LV3 Member (Next: 100)
  • ***
  • Posts: 66
  • Rating: +7/-1
  • I'll be watching you from the shadows
    • View Profile
    • My Tumblr
Re: BF*k 83+
« Reply #5 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
Your drill is the drill that will pierce the heavens!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: BF*k 83+
« Reply #6 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

Offline Ovnize

  • LV2 Member (Next: 40)
  • **
  • Posts: 26
  • Rating: +2/-0
    • View Profile
    • Ovnize.net (french)
Re: BF*k 83+
« Reply #7 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.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: BF*k 83+
« Reply #8 on: December 17, 2013, 12:56:36 pm »
How quick is it btw?

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Ovnize

  • LV2 Member (Next: 40)
  • **
  • Posts: 26
  • Rating: +2/-0
    • View Profile
    • Ovnize.net (french)
Re: BF*k 83+
« Reply #9 on: December 17, 2013, 01:01:33 pm »
30cs for >, <, + and -
60cs for [ and ]
And I haven't made . and ,

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: BF*k 83+
« Reply #10 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.
« Last Edit: December 17, 2013, 05:14:53 pm by fb39ca4 »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: BF*k 83+
« Reply #11 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.




Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: BF*k 83+
« Reply #12 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

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: BF*k 83+
« Reply #13 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
I am Bach.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: BF*k 83+
« Reply #14 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

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!