fix interpreter to output symbols

which amazingly lets us get at classnames etc
This commit is contained in:
2019-09-08 15:31:03 +03:00
parent a99abd7ad0
commit 6811fc4174
4 changed files with 39 additions and 18 deletions

View File

@ -0,0 +1,18 @@
class Class
def name
@name
end
end
class Type
def name
@object_class.name
end
end
class Space
def type
@type
end
def main(arg)
type.name.putstring
end
end