Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r14413 r14488 25 25 === Blocks and Statements 26 26 27 27 * Topicalisers for `if`, `elsif` and `else` blocks: `if EXPR -> $x {...}` 28 28 29 29 === Regexes and Grammars … … 199 199 * Support for the `&each` list interleaver: `for each(@a; @b) -> $x, $y {...}` 200 200 * The `for` loop no longer double-flattens lists: `for %h.pairs -> $p {...}` 201 * Topicalisers for `if`, `else`, `while`, `given` blocks: `if EXPR -> $x {...}` 202 * Topicalisers for postfix `for` loop: `-> $x {...} for 1,2,3` 201 * Topicalisers for `while` and `given` blocks: `while EXPR -> $x {...}` 203 202 * `&last` and `&redo` now work in `repeat {...}` and `loop {...}` blocks 204 203 * `&take` no longer flattens array literals: `take [1,2,3];` … … 213 212 214 213 * Anonymous tokens and rules anchor on both ends: `123 ~~ token{2}` is false 215 * New `s[...] = EXPR` and `s[...] = .meth` syntax; `s[...][...]` is deprecated214 * New `s[...] = EXPR` and `s[...] .= meth` syntax; `s[...][...]` is deprecated 216 215 * New `tr///` syntax for transliteration; `y///` will not be supported 217 216 * Pugs::Compiler::Rule (PCR) replaces Parrot/PGE as the default engine … … 233 232 * Precompiled `.pm.yml` files with mismatching AST version will no longer load 234 233 * Support for user-defined unary and optional-unary prefix macros 235 * The main package is now ::Main, not ::main234 * The main package is now `::Main`, not `::main` 236 235 * `&?CALLER_CONTINUATION` is now fully reentrant 237 236 * `&yield` in coroutines works correctly within loop blocks
