Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/glubs9/golfscriptrepl
- Owner: Glubs9
- Created: 2020-11-17T03:16:14.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-17T03:52:17.000Z (about 4 years ago)
- Last Synced: 2024-11-09T13:40:41.407Z (2 months ago)
- Language: Ruby
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.