Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    12
  • comments
    26
  • views
    17617

Befunge!

Sign in to follow this  
MrEvil

637 views

Ok, so I am currently posting without a mouse. This sucks. Especially when you try to use Firefox. The thought for the day is,

[grin]Befunge![grin]

I'm currently developing a command-line 3D befunge interpreter, which will hopefully be cross-platform. I am attempting to do this in C++, with quite some success.

My interpreter doesn't interpret befunge-93 as such, it interprets a fungeoid which is quite similar to befunge-93. My dialect uses 32-bit (int) values for the code/data and stack values.

I also include a stack stack, which is (as the name suggests) a stack of stacks. { pushes a stack, } pops a stack. The usual befunge-93 semantics apply to most functions, except g and p. g and p currently pop 3 values from the stack, since it is a 3D version of befunge.

The interpreter will also include native threads and TCP sockets (which will be swapped in to be manipulated via '~','&',',' and '.' as usual - in addition, file manipulation may be included, although then the language might become vaguely useful [wink].

Once I have written all this, I plan to write a befunge IRC client/server. It shall be great.

My progress so far:
I have implemented a befunge-93 interpreter. I'm having problems with the threads and lifetime issues with sockets [sad]
Sign in to follow this  


1 Comment


Recommended Comments

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!