Settings

Theme

Show HN: Funge++, a procedural Befunge-93 Extension

3 points by CzechsMix 11 years ago · 2 comments · 1 min read


So I got inspired today, and threw this together.

it's a procedural extension of the Befunge-93 language called Funge++

Linked, you'll find the open source C++ interpreter I made for it, FungePP. (you'll have to build from source, as I've only compiled and tested it for 64-bit Ubuntu 14.04 )

The key change is the addition of the gate control or 'H' which has the following behavior, "pop y, x, and d. move the PC to x,y with direction d%4 where 0=N,1=E,2=S,3=W"

With this addition, (essentially a goto) Fungoid programmers like myself can now implement the procedural programming paradigm. I've attached some sample Funge++ programs to both demonstrate the gate, and backwards compatability with Befunge-93

https://github.com/CzechsMix/FungePP

dang 11 years ago

Posts without URLs get penalized. You'd be better off posting this with a link to the page, then including your text as a first comment in the thread.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection