[PATCH] Improve t/codingstd/linelength.t a little
[parrot.git] / DEPRECATED.pod
blob66cb06383dea8f67b07be292c062262bae93ac10
1 =head1 .imc file extension
3 http://xrl.us/jc4u
5  IMC vs. PIR
6  Two names enter
7  One name leaves
9  /me giggles
10  -- Chip Salzenberg
12 =head1 Deprecated C APIs
14 =over 4
16 =item enter_nci_method
18 This function is being renamed to register_nci_method. The original name was
19 confusing (see #40801).
21 =back
23 =head1 Deprecated methods
25 =over 4
27 =item PGE
29 PGE::P6Regex is now a registered compiler, and should be used like so:
31  <@pmichaud> it's easy; instead of  $P0 = find_global "PGE", "p6rule"
32    one now does  $P0 = compreg "PGE::P6Regex"
34 This syntax is also true for PGE::Glob and PGE::P5Regex
36 =back
38 =head1 Deprecated ops
40 From http://www.parrotcode.org/docs/ops/var.html, the following ops are 
41 deprecated:
43 =over 4
45 =item store_global
47 =item find_global
49 =item find_name
51 =back
53 There are several variants of some of the above ops; all are deprecated,
54 and are replaced by the ops {set,get}_[hll,root]_global. See also
55 http://www.parrotcode.org/docs/ops/var.html.
57 Additionally, the following (unimplemented) ops are going to be removed:
59 =over 4
61 =item adddoes
63 =item removedoes
65 =item singleton
67 =back
70 =head1 Deprecated vtable methods
72 The following vtable methods are deprecated:
74 =over 4
76 =item void become_parent(PMC* class)
78 =item PMC* subclass(PMC* name)
80 =item PMC* get_anonymous_subclass()
82 =item PMC* new_singleton()
84 =back
87 =head1 FUTURE changes
89 Not yet deprecated, but it's recommended to use the new syntax and
90 gradually change the old.
92 =over 4
94 =item PMC Class name IDs [#41237]
96 ... will require a dot in front
98   $P0 = new Integer               => $P0 = new .Integer
100 =item Assignment syntax with opcodes [#36283]
102 When the first argument of an opcode is C<OUT>, then the assignment syntax
103 will be allowed, as it is today.
105 In any other case (i.e. C<INOUT>, C<IN>), this will become
106 a syntax error. For example:
108     $S0 = print
109     $P0 = substr 1, 2, "x"
111 Will have to be:
113     print $S0
114     substr $P0, 1, 2, "x"
116 =back