https://github.com/lynn/golfscript-rs
GolfScript interpreter in Rust
https://github.com/lynn/golfscript-rs
Last synced: 2 months ago
JSON representation
GolfScript interpreter in Rust
- Host: GitHub
- URL: https://github.com/lynn/golfscript-rs
- Owner: lynn
- Created: 2022-06-16T12:06:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-07T18:53:35.000Z (11 months ago)
- Last Synced: 2025-02-28T20:40:17.154Z (3 months ago)
- Language: Rust
- Size: 33.2 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# golfscript-rs
This is a [GolfScript](http://www.golfscript.com/golfscript/) interpreter in Rust (WIP).
It's about 20× faster than the Ruby interpreter, and currently compatible with about 97% of the GolfScript solutions on [anarchy golf](http://golf.shinh.org/).
Try `cargo run -- --code code --input input`, e.g. `cargo run -- --code '~]{+}*' --input '1 2 3 4'`