Sha256: 6b7f2c851c4128255902697e0e770362ce212935c986378c068c758f6c3511d2
Contents?: true
Size: 622 Bytes
Versions: 1
Compression:
Stored size: 622 Bytes
Contents
# Forthic A Forthic interpreter that runs within Ruby. ## Installation Install the gem and add to the application's Gemfile by executing: ```bash bundle add forthic ``` If bundler is not being used to manage dependencies, install the gem by executing: ```bash gem install forthic ``` ## Usage Here's a basic example of how to use the Forthic interpreter: ```ruby require 'forthic' interp = Forthic::Interpreter.new interp.run("[1 2 3] '8 *' MAP") puts interp.stack_pop # Output: # # [ 8, 16, 24 ] ``` ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/linkedin/forthic.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
forthic-0.1.0 | README.md |