Allison Randal wrote:

Or, can I also write:

 $P0 = Integer.new()  # create new Integer PMC object
 $P1 = Hash.new()    # create new Hash PMC object

No, we're eliminating bareword class names from PIR/PASM entirely. It's easy to do that in an HLL, though.

Unless, of course, you declare Integer and Hash as local variables, e.g.:

.local pmc HLLClass
HLLClass = get_class "HLLClass"
$P1 = HLLClass.new()

Allison

Reply via email to