flat assembler
Message board for the users of flat assembler.
Index
> High Level Languages > BF93 example intepreter |
Author |
|
lsa 14 Mar 2010, 12:20
Just another example program for beginners.
|
|||||||||||
14 Mar 2010, 12:20 |
|
revolution 14 Mar 2010, 12:40
You may be interested in these two topics also:
http://board.flatassembler.net/topic.php?t=10599 http://board.flatassembler.net/topic.php?t=10609 |
|||
14 Mar 2010, 12:40 |
|
revolution 14 Mar 2010, 16:54
Well doing things just because they might be really cool is a luxury for those with lots of spare time.
I can't see too much problem with a macro solution for brainfuck but I also don't have the time devote to doing just now. However I do encourage others to try. Learning the macros takes nothing more than experience. Without doing it oneself, one cannot learn. |
|||
14 Mar 2010, 16:54 |
|
Tyler 14 Mar 2010, 22:55
I'm trying to make the macros, the desired resulting code is pretty simple, it's just that fasm already has a defined meaning for all the symbols used in bf, do you know a way around this?
|
|||
14 Mar 2010, 22:55 |
|
Coddy41 15 Mar 2010, 00:28
@lsa: Very inspiring thanks Also this is allot different from the original, why call it BF?
_________________ Want hosting for free for your asm project? You can PM me. (*.fasm4u.net) |
|||
15 Mar 2010, 00:28 |
|
lsa 16 Mar 2010, 06:46
Coddy41: Is it different?
Its a long time since I created it but as far as I can remember i used 10 minutes with another intepreter and then coded it while reading the original (well, I think it was) "specification". The implementation may be somewhat different, since i never looked at others work. The name is just a shortcut, no magic. Great if it is inspiring. |
|||
16 Mar 2010, 06:46 |
|
Coddy41 16 Mar 2010, 19:51
Yeah bf only has 8 instructions to my knowledge, and you have 26 also in
bf you have to increase the data pointer to what ASCII character you want and then place a period. Also look at the hello world example for bf http://en.wikipedia.org/wiki/Brainfuck#Hello_World.21 _________________ Want hosting for free for your asm project? You can PM me. (*.fasm4u.net) |
|||
16 Mar 2010, 19:51 |
|
lsa 16 Mar 2010, 20:10
This may explain things:
http://en.wikipedia.org/wiki/Befunge More than one language with B....f... in it. The thread title may be misleading. |
|||
16 Mar 2010, 20:10 |
|
rugxulo 23 Mar 2010, 15:32
Cool, another BF93 interpreter to add to my (huge) collection!
However, you should've mentioned that it was for NetBSD / OpenBSD only. Also, 41x25 is indeed a little odd (esp. since 80x25 should be default). The man page is also way way way too short. At the very least, it should mention Chris Pressey and all 26 instructions (plus 10 digits). Some more complex examples included in the package would be nice too. Oh, and "release/" for the program's dir is not useful. P.S. Make sure to add a link at http://esolangs.org/wiki/Befunge ! (Please don't be offended, just some (very light) constructive criticism.) Befunge forever! |
|||
23 Mar 2010, 15:32 |
|
lsa 26 Mar 2010, 07:00
rugxulo:
Fine feedback. In generel, criticism is the best feedback one can get, if it is constructive. Yes the *BSD only is importent. I will change some of the things you point out and upload the new (soon), just to make it more complete. The 41x25 is in my opinion much easier to work with on terminals, not that i have ever done much work with befunge but i found it so, at the time of writing the intepreter. |
|||
26 Mar 2010, 07:00 |
|
rugxulo 11 Apr 2010, 07:04
BTW, works fine in old NetBSD 3.1 "rescue-tiny" floppy.
P.S. I can't understand why 41x25 is easier, are you using GNU Screen or is that just the way your X11 setup is situated?? |
|||
11 Apr 2010, 07:04 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.