Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/glubs9/golfscriptrepl

modification to the golfscript interpreter to make it act as a repl.
https://github.com/glubs9/golfscriptrepl

Last synced: 16 days ago
JSON representation

modification to the golfscript interpreter to make it act as a repl.

Awesome Lists containing this project

README

        

# GolfscriptRepl
modification to the golfscript interpreter to make it act as a repl.

Here is the golfscript website (where I stole most of this code): golfscript.com

the code I added (with the xception of removing the file argument) is at the bottom.

I have never coded in ruby before so my code isn't that great.

Originally I created this in python but the stack wasn't maintained throughout the repl so I had to hack this together.

To run this just run the file in ruby and it will do the repl.

I added two extra commands. type quit to quit the repl. Type clear to clear the stack.