bin/qlang in qlang-0.0.27000000 vs bin/qlang in qlang-0.0.27100000

- old
+ new

@@ -1,10 +1,11 @@ #!/usr/bin/env ruby require 'qlang' include Qlang -case ARGV.shift +# TODO: There are vanch of todo .. +case ARGV.first when '-i' loop do print 'Q:-> ' begin input = $stdin.gets @@ -12,9 +13,9 @@ $stdout.puts output rescue => e puts e end end -when '-c' - compiler = Qlang::Exec::Compiler.new(ARGV) - compiler.parse! +when '-R', '-Ruby' + exec = Qlang::Exec::Compiler.new(ARGV) + exec.output! end