|
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. |
|||
|
02:56
ilbot3 joined
16:23
Ven`` joined
|
|||
| Ven`` | o/ | 16:23 | |
| Considering writing a blogpost about macros indeed. Maybe with a name like "hello from the other side", that's overused to death. | |||
| I'm not sure it'd be presumptuous to talk about 007 macros in general, but it might be for me... | 16:24 | ||
.oO( being able to showcase "is parsed" would actually be amazing... ) |
|||
| masak | aye | 19:14 | |
| I believe we can get there in O(weeks) | 19:15 | ||
| I'm very happy we got `macro ff` working in a branch | |||
| it has exposed something I'm referring to as the `y` problem, though: | |||
| $ bin/007 -e='macro moo() { my y = "right"; return quasi { { my y = "wrong"; }; say(y) } }; moo( | 19:18 | ||
| )' | |||
| wrong | |||
| if you remove the innermost curly braces, it all works fine. but something is still OUTER'd incorrectly with any block nested in a quasi/injectile | 19:19 | ||