News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.

Post Reply  Post Thread 
Interactive Fish interpreter
Author Message

Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #1
RE: Interactive Fish interpreter

Well, I had a lot of fun coding this one, and I think it can be quite entertaining, and perhaps serve for basis for writing other interactive interpreters (Though there should be a bit more separation between logic an UI). The code for the instructions might not be super-readable, but that's because this project started out as an answer in a codegolfing contest.

Anyway here it is, explications are at the top of the file, some demo programs are included and you can find some more here: Note that this program implements the "Old" Fish, where now the whole threading idea has been given up for a "multiple stack" concept. If anyone feels for updating this to the new specs, it shouldn't be too much work.

Any help with the TODO's in the file are also very welcome.
Have fun!



Attached File(s)
.zip File (Size: 5.58 KB / Downloads: 17)

This post was last modified: 05-14-2011 11:44 PM by jpjacobs.

05-14-2011 11:43 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
Interactive Fish interpreter - jpjacobs - 04-21-2011, 08:09 PM
RE: Texteditor - mikshaw - 04-22-2011, 12:43 AM
RE: Texteditor - jpjacobs - 04-22-2011, 08:14 PM
RE: Interactive Fish interpreter - mikshaw - 05-06-2011, 11:23 PM
RE: Interactive Fish interpreter - jpjacobs - 05-14-2011 11:43 PM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: