https://github.com/sharparam/shafunge
Befunge interpreter in Ruby
https://github.com/sharparam/shafunge
Last synced: about 1 month ago
JSON representation
Befunge interpreter in Ruby
- Host: GitHub
- URL: https://github.com/sharparam/shafunge
- Owner: Sharparam
- License: mit
- Created: 2017-06-01T13:10:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-04-03T01:43:09.000Z (about 4 years ago)
- Last Synced: 2025-02-25T11:47:22.508Z (over 1 year ago)
- Language: Ruby
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shafunge
An interpreter for [Befunge](http://esolangs.org/wiki/Befunge) implemented
in Ruby.
## Installation/usage
Run this command in your terminal (if I end up putting this on RubyGems):
```ruby
gem install shafunge
```
And then execute:
$ shafunge path/to/program.bf
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
The console script defines a `run` function that takes the path to a Befunge program and runs it.
To install this gem onto your local machine, run `bundle exec rake install`.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/Sharparam/shafunge.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).