Sha256: d444344fd7943cf749b9b94e36312f9ec7e0c21fb8a0114f9eaca259181a24a0
Contents?: true
Size: 302 Bytes
Versions: 2
Compression:
Stored size: 302 Bytes
Contents
module PLang module VM module PFunctions def add_to_interpreter_io_functions def_function :print, "x" do |params| puts params[0].to_s end def_function :read, do PObject.new(:string, [STDIN.gets]) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
p-lang-0.3.1 | lib/vm/core/pio.rb |
p-lang-0.3.0 | lib/vm/core/pio.rb |