Discussion

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

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

3 points CzechsMix 11 years ago 2 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton