1 # Copyright (C) 2007-2009, Parrot Foundation.
6 PMCs are objects, so to use a PMC, you first have to
7 instantiate an object for the PMC using the 'new' opcode and
10 The simple data types have a corresponding PMC type. The
11 Integer type is like $I0, the Float type is like $N0, and
12 the String type is like $S0.
14 Any data type more complex than a simple integer, float, or
15 string (such as an array or hash) is also a PMC. Some PMC
16 types are built into Parrot directly. Some can be loaded
17 dynamically. Some types are defined as classes in PIR code.
18 We'll talk about some of these other types later.
31 $P2 = new ['ResizableStringArray']
44 # vim: expandtab shiftwidth=4 ft=pir: