|
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. |
|||
|
00:46
Ven joined
01:48
Ven joined
02:54
Ven joined
04:00
Ven joined
05:03
Ven joined
06:04
Ven joined
07:23
cgfbee joined
07:47
FROGGS joined
|
|||
| pdcawley finishes reading gist.github.com/masak/978d6e7c0ad131da0334 | 08:44 | ||
| It seems that the only way I'm going to be able to write whole classes of useful macros is by hand rolling "synthentic" ASTs and returning them from the macro - not having a convenient way to do that is going to hurt. Also, I'm concerned about being able to write macros that inject stuff into the scope of an argument block - parser seems to get ahead of itself when parsing 'scope_injector { $injected * 10 }', say. | 08:55 | ||
| Also, vendethiel's dead right that distinguishing between 'macro argument ASTs' and 'quasi ASTs' doesn't seem remotely useful. | 09:01 | ||
|
09:14
Ven joined
10:19
Ven joined
|
|||
| pdcawley | more quasi/macro thoughts. Suppose I want to write 'catching_return_do 5 times { return 10 } # => [10, 10, 10, 10, 10]', how would I go about doing that? Could I do it? | 10:49 | |
|
11:21
Ven joined
12:24
Ven joined
13:27
Ven joined
15:49
pdcawley joined,
pdcawley_ joined
16:39
Ven joined
17:41
Ven joined
18:21
FROGGS joined
18:43
Ven joined
19:29
vendethiel joined
19:44
Ven joined
19:52
Ven joined
20:12
Ven joined
20:22
Ven joined
20:52
Ven joined
21:07
Ven_ joined
21:25
Ven joined
21:32
sergot joined
21:53
Ven joined
22:57
pdcawley__ joined
|
|||