potion
0.2
|
Everything is an object. Every object is a closure (lambda), even values, variables, classes, types, metaclasses, ... It's essentially a LISP-1.
PN is either an immediate tagged value for int, bool and nil, or a ptr to an object.
ops use a three-addresss layout: "dest = op src what" in a single word
The root class is P->lobby, which holds global values and methods.
and optionally args, statically typed via signature strings.
name=one-char type.