3 =head1 Deprecation in Parrot
5 This is a list of currently deprecated features of Parrot. Every deprecation
6 has an associated RT ticket. Each item indicates the last release it's
7 guaranteed to appear in. Items marked with a release of ??? are still
8 deprecated, but a firm deadline for their removal has not yet been established.
10 When deprecated items are removed, all usage of the feature in the
11 repository should be updated or removed; including documentation.
17 =item * C<get_attr> [post 0.5.2]
21 =item * C<set_attr> [post 0.5.2]
25 =item * C<type_keyed> [post 0.5.2]
29 =item * C<type_keyed_int> [post 0.5.2]
33 =item * C<type_keyed_str> [post 0.5.2]
37 =item * C<type> [post 0.5.2]
41 =item * C<new_from_string> [post 0.5.0]
51 =item * C<pioctl> [post 0.5.1]
55 =item * C<store_global> [post 0.5.0]
57 See RT #48016. Replace usage with set_[hll,root]_global variants.
59 =item * C<find_global> [post 0.5.0]
61 See RT #48018. Replace usage with get_[hll,root]_global variants.
63 =item * C<new>(out PMC, in INT, in STR) [post 0.5.0]
67 =item * C<getclass> [post 0.5.0]
69 See RT #47972. Future use should use the C<get_class> opcode.
71 =item * C<get_mro> [post 0.5.0]
75 =item * C<getfd> [post 0.5.1]
85 =item * Integer Type IDs [post 0.5.0]
87 See RT #48024. Instead of C<$P0 = new Integer> or C<$P0 = new .Integer>,
88 use the following syntax, which works for both PMCs and objects.
92 =item * PMC union struct [post 0.5.0]
94 See RT #48014. This will be removed once all core PMCs have been updated.
102 =item * Keyed access to exception attributes [post 0.5.1]
104 See RT #48012. Attributes on exception objects will no longer be accessible
105 by integer or string key, use C<getattribute> and C<setattribute> instead.
113 =item * C<<.namespace <identifier> >> syntax [post 0.5.1]
117 =item * Use of C<::> in identifiers [post 0.5.1]
121 =item * C<.namespace [ "a" .. "b" ]> [post 0.5.0]
125 =item * vtable name .constants and __vtable overrides [post 0.5.2]
129 =item * Assignment syntax with opcodes [post ???]
131 See RT #36283. When the first argument of an opcode is C<OUT>, then
132 the assignment syntax will be allowed, as it is today.
134 In any other case (i.e. C<INOUT>, C<IN>), this will become
135 a syntax error. For example:
138 $P0 = substr 1, 2, "x"
143 substr $P0, 1, 2, "x"
148 =head1 Parrot Compiler tools
152 =item * compilers/PAST-pm [post 0.5.1]
154 See RT #48030. The compiler tools in compilers/PAST-pm/ and
155 runtime/parrot/library/Parrot/HLLCompiler.pir are deprecated
156 in favor of the new versions in the Parrot Compiler Toolkit
157 ( compilers/pct/ ). In particular, the PAST representation in
158 PCT follows the specification given by pdd26 .