Sha256: e5739f46e9eb59d9bd3935c94e40a3e4ddf5daba540a43db0c2d031ed2a3ab67
Contents?: true
Size: 289 Bytes
Versions: 2
Compression:
Stored size: 289 Bytes
Contents
module PLang module VM module PFunctions def add_to_interpreter_char_functions def_object_message "{char: x}", :ord do |object| plambda do |value| PObject.new(:integer, [object.params[0].ord]) end 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/pchar.rb |
p-lang-0.3.0 | lib/vm/core/pchar.rb |