|
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:23
FROGGS_ joined
02:59
vendethiel joined
12:39
vendethiel joined
|
|||
| masak | observation: it's hard to lint a piece of source code in a language whose Qtree "schema"/composition can change by pragmas | 13:19 | |
| or s/lint/analyze/, really | 13:20 | ||
| I guess the answer to that, to a first approximation, is that the parser produces a Qtree, which then has a number of known downstream consumers -- among which the runtime is but one. | 13:21 | ||
|
13:23
vendethiel joined
17:01
cgfbee joined
19:59
vendethiel joined
21:24
ilbot3 joined
|
|||
| masak | Q::Statement types have a .run method in Perl 6, and Q::Expr types have an .eval method. today I started wondering whether we maybe want to define those in 007, too. | 21:58 | |
| (I was thinking about this in the context of overriding Q::Statement::If to have an optional `else` part, and realized that that would also mean overriding its .run method) | 22:01 | ||
|
22:42
ilbot3 joined,
cfloare joined,
sergot joined
23:04
cgfbee joined
|
|||