Sha256: da26ddcb4a1621b08cf468e6026d51f01f118d39093d71dfef36052f1234cbac

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 Bytes

Contents

#!/usr/bin/env ruby
require 'qlang'
include Qlang

case ARGV.shift
when '-i'
  loop do
    print 'Q:-> '
    begin
      input = $stdin.gets
      output = Iq.execute(input)
      $stdout.puts output
    rescue => e
      puts e
    end
  end
when '-c'
  compiler = Qlang::Exec::Compiler.new(ARGV)
  compiler.parse!
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
qlang-0.0.27000000 bin/qlang
qlang-0.0.27 bin/qlang
qlang-0.0.14142135 bin/qlang
qlang-0.0.1414213 bin/qlang
qlang-0.0.141421 bin/qlang
qlang-0.0.14142 bin/qlang
qlang-0.0.1414 bin/qlang
qlang-0.0.141 bin/qlang