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