Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (Quad, TipmyPip, degenerate_762, AndrewAMD, Nymphodora), 997 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Befunge-93 interpreter #472594
05/07/18 14:31
05/07/18 14:31
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline OP
Serious User
txesmi  Offline OP
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Hi!
I have been working on a Befunge-93 interpreter in liteC: The absurd in its maximum power.



DOWNLOAD (Source and examples)

Enjoy!

Re: Befunge-93 interpreter [Re: txesmi] #472598
05/07/18 15:13
05/07/18 15:13
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
I have no idea what's going on but it looks cool.

Probably took a good amount of effort, so good job smile


POTATO-MAN saves the day! - Random
Re: Befunge-93 interpreter [Re: Kartoffel] #472610
05/08/18 08:30
05/08/18 08:30
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline OP
Serious User
txesmi  Offline OP
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Thank you! It tooks me most of my spare time of the last weeks, true.

As background, Funge family of programming languages was born to be more complex than necessary. In other words: functional but impractical, like Brainkfuck or Whitespace.

Befunge states a toroid shaped execution space where the instruction pointer can only be moved to one of its neighbors in a direction defined on the run. So it can not jump to an arbitrary position on the program as most of programming laguages do, f.e, when calling a function. It has some special instructions to modify the program's execution direction, so the same instruction may be executed in any of the four available directions. Each cell into the execution space is a signed integer and can only be initially filled with ascii characters (from 32 to 126 inclusive), some of them been the actual instruction set.

As the second complexity layer, the memory is available in two forms only: a FILO type stack memory and the execution space itself. Instructions only work with the stack but the two instructions that serve as intercharger between both memory types.

The I/O interface is a console and manages integers and single characters only.

That's briefly all. Just a toy for masochists. I thought it has a certain parallelism with a behavior of a strategy game, but it gets too complex for people not initiated into programming. I have some ideas around anyway.

Salud!

Re: Befunge-93 interpreter [Re: txesmi] #472617
05/08/18 12:57
05/08/18 12:57
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Interesting, tanks for the explanation.

I know Brainfuck but I had never heard of Befunge/Funge before.


POTATO-MAN saves the day! - Random
Re: Befunge-93 interpreter [Re: Kartoffel] #473727
08/08/18 06:25
08/08/18 06:25
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
I know I'm being nitpicky now... but it's "subtract"
Interesting project nonetheless.

Re: Befunge-93 interpreter [Re: FBL] #473729
08/08/18 08:18
08/08/18 08:18
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline OP
Serious User
txesmi  Offline OP
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Thank you, it has been fixed. I have to admit that this thing I use to write can hardly be called english and I do not put a penny to remedy it laugh


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1