Author Topic: Interpretor of BrainFuck  (Read 15236 times)

0 Members and 1 Guest are viewing this topic.

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Interpretor of BrainFuck
« Reply #15 on: December 28, 2012, 06:15:01 pm »
Don't forget that Homer made a BF interpreter in Lua ^^

Anyways, looks fun :)

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: Interpretor of BrainFuck
« Reply #16 on: December 28, 2012, 10:36:53 pm »
It would be funny if all of a sudden, Brainfuck took over Lua and Axe as most popular Omnimaga languages for calcs. I hope not, though, considering how hard it is to read. :P

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: Interpretor of BrainFuck
« Reply #17 on: December 29, 2012, 12:17:50 pm »
Then we would be Omnimaga: The brain fuckers of tomorrow.

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

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Interpretor of BrainFuck
« Reply #18 on: December 29, 2012, 01:27:35 pm »
Then we would be Omnimaga: The brain fuckers of tomorrow.
lol, make it brainf*ckers then, because google doesn't like f*ckers without *

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: Interpretor of BrainFuck
« Reply #19 on: December 29, 2012, 01:28:33 pm »
how about we go innovative and do the brainfu*kers, lol

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

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Interpretor of BrainFuck
« Reply #20 on: December 29, 2012, 02:01:56 pm »
I'll respect the one who'll do the game "More or Less" to bet a number between 0 and 999 in Brainfuck. :P



Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Interpretor of BrainFuck
« Reply #21 on: December 29, 2012, 02:03:57 pm »
Can you even store values with that language? otherwise it's not really possible i guess..

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: Interpretor of BrainFuck
« Reply #22 on: December 29, 2012, 02:04:29 pm »
yes, you can store values, but it is a pain, lol, but no long-term storage :P

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

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Interpretor of BrainFuck
« Reply #23 on: December 29, 2012, 02:05:09 pm »
Then I think the challenge is set. Sorunome, make us 'more or less' in brainf*ck, NOW!

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Interpretor of BrainFuck
« Reply #24 on: December 29, 2012, 02:14:30 pm »
Can you even store values with that language? otherwise it's not really possible i guess..
That's nearly the only thing we can do. :P
In fact, you can do all what you want to do in theorie with Brainf*ck.



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: Interpretor of BrainFuck
« Reply #25 on: December 29, 2012, 02:23:14 pm »
Then I think the challenge is set. Sorunome, make us 'more or less' in brainf*ck, NOW!
lol, but you have no random numbers, dat's ze problem :P

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

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Interpretor of BrainFuck
« Reply #26 on: December 29, 2012, 02:26:17 pm »
I don't think it's the major problem. :P
Just ask a number to a first player without displaying it.



Offline jacobly

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 205
  • Rating: +161/-1
    • View Profile
Re: Interpretor of BrainFuck
« Reply #27 on: December 29, 2012, 04:45:01 pm »
I'll respect the one who'll do the game "More or Less" to bet a number between 0 and 999 in Brainfuck. :P

Someone challenged me to make this program in bf a couple days ago

Spoiler For BF Guessing Game:
First 4 characters input are used as a seed, after that everything ignored but numbers.

>>++++[->++++++>++++>+<<<]>>[->>++>++++++>+++++++<<<<]>>>+++++++>++++>++++++++++
<<<<[-<<<,<<[->>+<<]>[-]>[-<+<+>>]>[->+<<<[->+<<+>]>[-<+>]>]>[-<++>]>]<<[-]<++[-
>+++++<]<[-]>+[>[->+<<[<<[>]+>-[+<->>-]]<[->+<]<->>>]>[-<+>]<<]>[-<<<+>>>]<,[>>+
+++++[->++++++++<]+>[-<[<<[>]+>-[+<->>-]]<[->+<]<->>>]<[<<<<[->+>>>[<<[>]+>-[+<-
>>->>>>.-----..<<.>>---.+++.++++++++.--->.<<<<<]]<[->+<]<-<<]>[-<+>]>[>>[++[-<++
+>]+<<<<[->+>>-<<<]>[-<+>]>>[-<<+>>]<<[->->>[<<[>]+>-[+<->>->>>>.-----..<<.>+.+.
--.+.->>.<+++++<<<<]]<[->+<]<<]>>>[-]]<<[-]]>>[-<<<+>>>>>>----.>-----.+++..++<++
.--.++++>.>.<<<<<]]<<<-[+>,<]>]

So you want the same thing, but with larger numbers?

Offline Nick

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1166
  • Rating: +161/-3
  • You just got omnom'd
    • View Profile
    • Nick Steen
Re: Interpretor of BrainFuck
« Reply #28 on: December 29, 2012, 05:40:35 pm »
wow, and it actually works too.. well, I guess you've earned our respect now :)

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: Interpretor of BrainFuck
« Reply #29 on: December 30, 2012, 02:59:15 am »
wow, awesome, and, was that me who challenged you? I don't remember, I just remember a talk about such stuff...

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