Sha256: eb3f12869679dd2dcdae32ba1df0a0058b9da32cd001f94b04c9de9a834a28da
Contents?: true
Size: 456 Bytes
Versions: 1
Compression:
Stored size: 456 Bytes
Contents
#!/usr/bin/env ruby require 'qlang' # Q command line require 'qlang/exec' # Q interpreter require 'qlang/iq' # TODO: There are vanch of todo .. case ARGV.first when '-i' loop do print 'Q:-> ' begin input = $stdin.gets output = Iq.execute(input) $stdout.puts output rescue => e puts e end end when '-v' puts Qlang::VERSION when '-r', '-rb', '-py' exec = Qlang::Exec::Compiler.new(ARGV) exec.output! end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qlang-0.0.27182110 | bin/qlang |