Sha256: 36f465c881b53542a2956098a711ac020d6e531e710ff3c05d46832f20c50a49

Contents?: true

Size: 305 Bytes

Versions: 2

Compression:

Stored size: 305 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"
require "superscript"

if ARGV[0]
  runner = Superscript::Runner.new ARGV[0]
  runner.run!
else
  ctx = Superscript::Ctx.new
  runner = Superscript::Runner.new
  loop do
    print "> "
    contents = gets
    runner.run! ctx: ctx, contents: contents
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
superscript-0.2.1 exe/superscript
superscript-0.2.0 exe/superscript