- Timestamp:
- 10/17/06 08:27:18 (2 years ago)
- svk:copy_cache_prev:
- 21206
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r14387 r14388 57 57 58 58 * Implicit invocation in `when`: `when .true {...}`, `when .<key> {...}` 59 * Loop topic isnot forced into rw: `for 1..3 { $_++ }` now fails correctly60 * New `&break` and `&continue` primitives to use inside`when` blocks61 * New `&leave` primitive to exitfrom the innermost block59 * Loop topics are not forced into rw: `for 1..3 { $_++ }` now fails correctly 60 * New `&break` and `&continue` primitives for use within `when` blocks 61 * New `&leave` primitive for exiting from the innermost block 62 62 * New postfix `given` statement modifier: `.say given foo()` 63 63 * Support for `FIRST`, `NEXT`, `LAST` loop control blocks … … 70 70 * `&take` no longer flattens array literals: `take [1,2,3];` 71 71 * `&take` now works in functions called from within a `gather {...}` block 72 * `BEGIN(...)`, `END(...)` etc areparsed as calls, not syntax errors72 * `BEGIN(...)`, `END(...)`, etc., are now parsed as calls, not syntax errors 73 73 * `do {...}` is now a loop block that takes standard loop controls 74 74 … … 77 77 * Anonymous tokens and rules anchor on both ends: `123 ~~ token{2}` is false 78 78 * New `s[...] = ...` syntax; `s[...][...]` is deprecated 79 * Pugs::Compiler::Rule (PCR) replace dParrot/PGE as the default engine79 * Pugs::Compiler::Rule (PCR) replaces Parrot/PGE as the default engine 80 80 * Support for `:c/:continue`, `<prior>`, and much more: see PCR's ChangeLog 81 * `$()`, `@()` and `%()` parse dcorrectly as `$$/`, `@$/` and `%$/`81 * `$()`, `@()` and `%()` parses correctly as `$$/`, `@$/` and `%$/` 82 82 83 83 === Modules and Routines … … 86 86 * Multi-dispatching now handles named, slurpy and optional arguments 87 87 * Named arguments with no matching parameters is now an error 88 * New `&sub.call($capture)` syntax to call without a caller frame 88 * New `&sub.call($capture)` syntax to call without a caller frame (similar 89 to Perl 5's `goto &sub`) 89 90 * Parse for the `proto` routine modifier: `proto method foo ($x) {...}` 90 * Precompiled `.pm.yml` files with mismatching AST version no longer loads91 * Precompiled `.pm.yml` files with mismatching AST version will no longer load 91 92 * Support for user-defined unary and optional-unary prefix macros 92 93 * The main package is now ::Main, not ::main
