Sha256: dc54908cada8a3ff0b5cd8e3048db619dd33d9f88b509cd294696cff37bab90d
Contents?: true
Size: 863 Bytes
Versions: 2
Compression:
Stored size: 863 Bytes
Contents
ROOT_PATH = File.expand_path(File.dirname(__FILE__)) require 'rubygems' require 'treetop' Treetop.load File.join(ROOT_PATH, '/parser/p-lang') require File.join(ROOT_PATH, '/parser/nodes') require File.join(ROOT_PATH, '/parser/ast') require File.join(ROOT_PATH, '/vm/environment') require File.join(ROOT_PATH, '/vm/vm') require File.join(ROOT_PATH, '/vm/proc') require File.join(ROOT_PATH, '/vm/pobject') require File.join(ROOT_PATH, '/vm/perror') require File.join(ROOT_PATH, '/vm/std/pio') require File.join(ROOT_PATH, '/vm/std/pstring') require File.join(ROOT_PATH, '/vm/std/pinteger') require File.join(ROOT_PATH, '/vm/std/pdecimal') module PLang class VM def initialize_global_environment(env) PIO.def_pfunctions(env) PString.def_pfunctions(env) PInteger.def_pfunctions(env) PDecimal.def_pfunctions(env) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
p-lang-0.1.1 | lib/p-lang.rb |
p-lang-0.1.0 | lib/p-lang.rb |