Sha256: 1526e94b1bedd4bfb3bfce28937fc21075ad5c56ed0937005407e6d35e406f17
Contents?: true
Size: 339 Bytes
Versions: 4
Compression:
Stored size: 339 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' require 'koi-reference-parser' require 'koi-reference-compiler' require 'koi-vm-ruby' include KoiReferenceParser include KoiReferenceCompiler include KoiVMRuby program_text = ARGF.read ast_hash = Parser.parse( program_text ).to_hash bytecode = Compiler.compile( ast_hash ) VM.new.run( bytecode )
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
koi-lang-0.0.4 | bin/koi |
koi-lang-0.0.3 | bin/koi |
koi-lang-0.0.2 | bin/koi |
koi-lang-0.0.1 | bin/koi |