Skip to content

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

Notifications You must be signed in to change notification settings

Glubs9/GolfscriptRepl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages