|
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:52
ilbot3 joined
08:08
Ven joined
|
|||
| Guest71332 | Accidentally wrote `FLAG_007_REGEX=1 ./bin/007 -e='say(/"abc" ["def"* "xyz"?]+/.fullmatch("abc"));'` | 08:46 | |
| Ven`` | That didn't go well.. | ||
| Anyway, submitted github.com/masak/007/pull/239/ | 08:55 | ||
|
09:58
Ven joined
10:42
Ven_ joined
11:59
Ven joined
|
|||
| masak | github.com/masak/007/issues/212#is...-320449569 | 14:03 | |
| andreoss: looking at implicit-return now. | |||
| andreoss: merged. | 14:19 | ||
| I think we might want to open up a separate issue for `return` in `quasi`, though: | 14:20 | ||
| $ bin/007 -e='macro moo() { quasi { say(1); return; say(2) } }; moo()' | |||
| 1 | |||
| Variable '--RETURN-TO--' is not declared | |||
| [...] | |||
| (wow, that's a really crappy error message, even) | |||
| github.com/masak/007/issues/240 | 14:23 | ||
|
16:08
Ven joined
|
|||
| Guest4921 | Refactoring some on the regex PR first... | 16:35 | |
|
16:54
Ven_ joined
18:39
Ven joined
|
|||
| Ven`` | It seems ["a"|"b"] works now! Whoo! | 19:23 | |
| say(/"abc" ["def" | "xyz"]+/.fullmatch("abcdefxyzdef")); | 20:02 | ||
| this works! :D | |||
|
21:56
andreoss joined
23:03
Ven joined
|
|||