|
6macros: discussing the finer points of Perl 6 macros, Qtrees, and how to stay sane | irclog: irclog.perlgeek.de/6macros/today Set by moderator on 28 July 2015. |
|||
|
01:51
Ven joined
02:56
ilbot3 joined
11:02
Ven joined
|
|||
| Ven`` | Started a bit working on captures, and now I'm like <I have no idea what I'm doing> | 11:25 | |
| I... guess I want to introduce a Match object. | |||
| because Perl 6 relies on that for its nested matching groups goodness. As well as named groups. | |||
| masak | I can see how we could use a Match object | 14:25 | |
| question is more, do we stick to Perl 6's model of Match objects, or Python's? | 14:26 | ||
| hm. maybe neither | 14:27 | ||
| `<EXPR>` in the regex is problematic, since Perl 6 regexes would make that a named capture, but the (still negotiable) implicit capture<->parameter binding is strictly positional | 14:30 | ||