Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
BrainFuck83 1.0
« previous
next »
Print
Pages: [
1
]
2
Go Down
Author
Topic: BrainFuck83 1.0 (Read 8366 times)
0 Members and 1 Guest are viewing this topic.
Juju
Incredibly sexy mare
Coder Of Tomorrow
LV13
Extreme Addict (Next: 9001)
Posts: 5730
Rating: +500/-19
Weird programmer
BrainFuck83 1.0
«
on:
March 19, 2010, 05:01:22 pm »
A year ago, I wrote a fully functionnal brainfuck interpreter in TI-BASIC, but at the time I was too lazy to show it up on the Internets... Now that I'm in a community I decided to show it up to you, Omnimaga members.
For the guys who don't know what is Brainfuck, see this link:
http://en.wikipedia.org/wiki/Brainfuck
Usage:
"++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.":prgmBRAINFCK
*Some minutes later, after looping though the string...*
Hello World!
You can also store your brainfuck program in Str0 ane use it as Str0:prgmBRAINFCK.
Features:
Memory of 256 bytes (using LBFUCK) (configurable)
Character set of 256 characters
Up to 16 recursive [] loops (ex.: [[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]])
Debug mode
Lots of other features!
Latest version available in download right in this post! Of course, this TI-BASIC program is very slow, so you need some patience. Have fun!
Logged
Remember the day the walrus started to fly...
I finally cleared
my sig
after 4 years you're happy now?
This signature is ridiculously large you've been warned.
The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on
Facebook
and
Tumblr
.
SirCmpwn
Guest
Re: BrainFuck83 1.0
«
Reply #1 on:
March 19, 2010, 05:02:37 pm »
Lol, brainfuck seems to get a lot of attention in the calcualtor world. There's like 12 interpreters out there, and a couple compilers.
Logged
Juju
Incredibly sexy mare
Coder Of Tomorrow
LV13
Extreme Addict (Next: 9001)
Posts: 5730
Rating: +500/-19
Weird programmer
Re: BrainFuck83 1.0
«
Reply #2 on:
March 19, 2010, 05:04:34 pm »
Yeah, esoteric programming languages are always interesting
Logged
Remember the day the walrus started to fly...
I finally cleared
my sig
after 4 years you're happy now?
This signature is ridiculously large you've been warned.
The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on
Facebook
and
Tumblr
.
Gale
LV4
Regular (Next: 200)
Posts: 115
Rating: +1/-0
Ti-84+ Silver Edition
Re: BrainFuck83 1.0
«
Reply #3 on:
March 19, 2010, 05:11:51 pm »
wait.. so what exactly does this do? xD the whole Usage section seemed like pure gibberish >.<
Logged
remember me as a time of day...
SirCmpwn
Guest
Re: BrainFuck83 1.0
«
Reply #4 on:
March 19, 2010, 05:12:52 pm »
The whole
language
is gibberish
Logged
Juju
Incredibly sexy mare
Coder Of Tomorrow
LV13
Extreme Addict (Next: 9001)
Posts: 5730
Rating: +500/-19
Weird programmer
Re: BrainFuck83 1.0
«
Reply #5 on:
March 19, 2010, 05:19:11 pm »
The name says it: Brain. Fuck. Programming in brainfuck gives you headaches.
Logged
Remember the day the walrus started to fly...
I finally cleared
my sig
after 4 years you're happy now?
This signature is ridiculously large you've been warned.
The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on
Facebook
and
Tumblr
.
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55942
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: BrainFuck83 1.0
«
Reply #6 on:
March 19, 2010, 05:21:42 pm »
Yeah I noticed many people wants to make a BF compiler/interpreter
Interesting, though, I would like to see some examples of it in action ^^
Also I wonder if the speed is an issue, if this program could easily be ported to Axe Parser?
Logged
Gale
LV4
Regular (Next: 200)
Posts: 115
Rating: +1/-0
Ti-84+ Silver Edition
Re: BrainFuck83 1.0
«
Reply #7 on:
March 19, 2010, 05:23:58 pm »
xD so it IS a joke language... right?
Logged
remember me as a time of day...
Juju
Incredibly sexy mare
Coder Of Tomorrow
LV13
Extreme Addict (Next: 9001)
Posts: 5730
Rating: +500/-19
Weird programmer
Re: BrainFuck83 1.0
«
Reply #8 on:
March 19, 2010, 05:25:32 pm »
Yeah, I have to look at this Axe Parser, this thing looks awesome.
And I'll make a screenshot soon.
Logged
Remember the day the walrus started to fly...
I finally cleared
my sig
after 4 years you're happy now?
This signature is ridiculously large you've been warned.
The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on
Facebook
and
Tumblr
.
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55942
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: BrainFuck83 1.0
«
Reply #9 on:
March 19, 2010, 05:34:09 pm »
I think it is indeed a joke language. I'm not sure, but just by its name I would be surprised if it wasn't
Logged
miotatsu
LV6
Super Member (Next: 500)
Posts: 332
Rating: +11/-1
Re: BrainFuck83 1.0
«
Reply #10 on:
March 19, 2010, 05:35:08 pm »
does Brainfuck83 1.0 support implied type casting?
(that is to say if you were to store a fraction into one of the cells, would the cell retain the decimal places and would they be retrievable via multiplication by 10?) this proves to be very useful for doing a lot of things in brainfuck, for instance one can subtract a number x amount of times (division) and then break from the division loop by use of a comparison within the division loop itself. that might seem pointless but it is important because it allows you to divide without ever hitting a perfect 0 (this allows for much more flexibility when dividing) this is also good to have because it lets you deal with floating point numbers without having to use floating point math in a very simple manner compared to the other ways it can be done
and you could say that BF is a joke language, it is not meant to seriously program in
personally i think it is a beautiful language and i have honestly considered making some BF headers for casual C++ programming
also how does this handle i/o? does it convert to ascii or getkey codes or a custom code layout?
«
Last Edit: March 19, 2010, 05:38:58 pm by miotatsu
»
Logged
Gale
LV4
Regular (Next: 200)
Posts: 115
Rating: +1/-0
Ti-84+ Silver Edition
Re: BrainFuck83 1.0
«
Reply #11 on:
March 19, 2010, 05:43:56 pm »
now i wanna learn how to speak brainfuck
Logged
remember me as a time of day...
Juju
Incredibly sexy mare
Coder Of Tomorrow
LV13
Extreme Addict (Next: 9001)
Posts: 5730
Rating: +500/-19
Weird programmer
Re: BrainFuck83 1.0
«
Reply #12 on:
March 19, 2010, 05:44:01 pm »
miotatsu, it's written in TI-BASIC, so it calculates numbers in the same manner as you type the numbers yourself on the main screen, so, yes. Me too I love this language, I made an IRC client involving running a BF program and some bash scripts once. And it's always fun to say, "hey I could write X in brainfuck hahaha", hence the status of joke language
And, of course, it supports I/O input, I think the , function is made w/ prompts. For the . command, it stores the current letter in a string, then shows it at the end of the program or before a , command.
«
Last Edit: March 19, 2010, 05:46:22 pm by juju2143
»
Logged
Remember the day the walrus started to fly...
I finally cleared
my sig
after 4 years you're happy now?
This signature is ridiculously large you've been warned.
The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on
Facebook
and
Tumblr
.
miotatsu
LV6
Super Member (Next: 500)
Posts: 332
Rating: +11/-1
Re: BrainFuck83 1.0
«
Reply #13 on:
March 19, 2010, 05:47:45 pm »
sweet, how about the i/o? in BF if you enter "A" it stores 65 in the current cell and if you output said cell it will display "A", 65 is the ascii number for A (i think it is, i dont have an ascii chart up atm), does this implementation also use the ascii codes or does it use something else?
EDIT: nevermind, i got Ninja'd
«
Last Edit: March 19, 2010, 05:48:19 pm by miotatsu
»
Logged
Juju
Incredibly sexy mare
Coder Of Tomorrow
LV13
Extreme Addict (Next: 9001)
Posts: 5730
Rating: +500/-19
Weird programmer
Re: BrainFuck83 1.0
«
Reply #14 on:
March 19, 2010, 05:50:22 pm »
And btw it's ascii, you can see the character set at the beginning of the source code.
Logged
Remember the day the walrus started to fly...
I finally cleared
my sig
after 4 years you're happy now?
This signature is ridiculously large you've been warned.
The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on
Facebook
and
Tumblr
.
Print
Pages: [
1
]
2
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
BrainFuck83 1.0