Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[CVS ci] PMC constants

4 views
Skip to first unread message

Leopold Toetsch

unread,
Oct 30, 2004, 5:14:40 AM10/30/04
to Perl 6 Internals
A first patch is in CVS. Imcc now understands the syntax:

set_p_pc P0, 0 # load PMC constant no. 0

The explicit arguments are necessary to disambiguate

set P0, 0 # assign integer 0 to P0

This isn't much useful per se, as a compiler/you doesn't know the
constant index of a PMC constant. Therefore next will be some glue code:

.const .Sub $P0 = "foo"

which will translate to the "set_p_pc" opcode.

leo

0 new messages