Changes between Version 10 and Version 11 of ParrotDeprecationsFor3.0
- Timestamp:
- 01/15/11 19:47:46 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ParrotDeprecationsFor3.0
v10 v11 166 166 167 167 Use string registers and the downcase opcode. For HLLs, provide its own version in the HLL mapped String type. 168 169 170 == No implicit :main subs ==171 172 === Description ===173 174 PIR programs will be required to have a sub marked :main. Previously if no sub was marked :main, the first sub would be used.175 176 === Rationale ===177 178 Requiring a sub to be explicitly marked with the :main modifier makes PIR less magical and surprising and will make it easier to discover how a piece of PIR code works.179 180 === Replacement ===181 182 Pick a sub and mark it with the :main modifier:183 {{{184 .sub 'start_here' :main185 do_stuff 0, 1, "bananas"186 .end187 }}}