flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > Brainfuck Interpreter |
Author |
|
Pinecone_ 31 Aug 2009, 04:10
This is based on my Befunge interpreter.
Bugs:
I mostly posted this here to add a link to this in my Esoteric Programming Challenges topic
|
|||||||||||
31 Aug 2009, 04:10 |
|
rugxulo 31 Aug 2009, 07:38
Dumb question, but can't you (or someone, I mean) write an interpreter for Brainf*** in Befunge??
|
|||
31 Aug 2009, 07:38 |
|
Pinecone_ 31 Aug 2009, 09:58
rugxulo wrote: Dumb question, but can't you (or someone, I mean) write an interpreter for Brainf*** in Befunge?? Smile |
|||
31 Aug 2009, 09:58 |
|
TmX 31 Aug 2009, 13:19
|
|||
31 Aug 2009, 13:19 |
|
Pinecone_ 01 Sep 2009, 06:47
That should be pretty simple. I'll make one later tonight, submit it to this board and add whitespace to the list of esoteric languages in the Esoteric Programming Challenges! thread.
Edit: Probably not tonight. I have a fair few assignments piled up that i need to do. Ill get around to it sometime. |
|||
01 Sep 2009, 06:47 |
|
revolution 01 Sep 2009, 14:56
MHajduk wrote: I guess that it would be easier to write Befunge interpreter in Brainf*ck. |
|||
01 Sep 2009, 14:56 |
|
Fanael 01 Sep 2009, 18:00
revolution wrote: Hmm, how would you emulate the Befunge "?" operator in brainfuck? |
|||
01 Sep 2009, 18:00 |
|
revolution 01 Sep 2009, 22:21
But Turing-completeness has nothing to do with non-deterministic outputs. PRNGs are only possible with non-deterministic inputs as seeds. The only source of input for brainfuck is the keyboard. So that makes it impossible to implement a PRNG automatically like Befunge can.
|
|||
01 Sep 2009, 22:21 |
|
rugxulo 02 Sep 2009, 00:53
Nthern wrote:
It seems to work on simple programs, but longer ones (quine.b) seem to be either really slow or hang on my DJGPP compile. Whatever. If anybody tests this (or writes their own, preferably NOT in B98), I'm interested in your comments. P.S. The 80x25 limit might be a hindrance (e.g. 30000 cell size in Brainf***), but even an interpreter for smaller (500 byte) programs might still be interesting. (Or maybe just put it on the stack, who knows.) |
|||
02 Sep 2009, 00:53 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.