* compilers/imcc/imcparser.c:
[parrot.git] / DEPRECATED.pod
blob21a61708c4181604e19575db1e1aa22eea0ccace
1 =head1 Deprecated opcodes
3 =over 4
5 =item fetchmethod
7 Use the C<find_method> opcode instead.
9 TODO remove this para and DELETED_fetchmethod from ops.
11 =back
13 =head1 .imc file extension
15 http://xrl.us/jc4u
17  IMC vs. PIR
18  Two names enter
19  One name leaves
21  /me giggles
22  -- Chip Salzenberg
24 =head1 Deprecated APIs
26 =over 4
28 =item *
30 All Parrot_char_is_* functions from src/string_primitives.c will
31 be removed. Please use Parrot_string_is_cclass() instead.
33 =back
35 =head1 Deprecated methods
37 =over 4
39 =item PGE
41 PGE::P6Regex is now a registered compiler, and should be used like so:
43  <@pmichaud> it's easy; instead of  $P0 = find_global "PGE", "p6rule"
44    one now does  $P0 = compreg "PGE::P6Regex"
46 This syntax is also true for PGE::Glob and PGE::P5Regex
48 =back
50 =head1 FUTURE changes
52 Not yet deprecated, but it's recommended to use the new syntax and
53 gradually change the old.
55 =over 4
57 =item Class name IDs
59 ... will require a dot in front
61   $P0 = new Integer               => $P0 = new .Integer
63 =item Assignment syntax with opcodes [#36283]
65 When the first argument of an opcode is C<OUT>, then the assignment syntax
66 will be allowed, as it is today.
68 In any other case (i.e. C<INOUT>, C<IN>), this will become
69 a syntax error. For example:
71     $S0 = print
72     $P0 = substr 1, 2, "x"
74 Will have to be:
76     print $S0
77     substr $P0, 1, 2, "x"
79 =back