Sha256: 9d93130c8bf1a606aa3cdb182a4424c3907067cc09b7772ad3494e7db05796f5
Contents?: true
Size: 272 Bytes
Versions: 3
Compression:
Stored size: 272 Bytes
Contents
#!/usr/bin/env ruby require File.join(File.expand_path(File.dirname(__FILE__)), '/../lib/p-lang') if ARGV[0] @parser = PLangParser.new ast = @parser.parse(File.readlines(ARGV[0]).join("")).build.collect(&:to_sexp) vm = PLang::VM.new(ast) vm.execute! end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
p-lang-0.0.3 | bin/p-lang |
p-lang-0.0.2 | bin/p-lang |
p-lang-0.0.1 | bin/p-lang |