04:58
Ven` joined
05:02
Ven` left
08:05
Ven` joined
10:48
Ven` left
11:29
Ven` joined
|
|||
masak | Ven`: re "the way <infix> is captured is wrong", I completely agree. that bit's still too handwavey | 12:46 | |
it's a little bit related to 007 not having and not wanting action methods | |||
how about if all @parsed macros got an extra positional argument `match` or something, and then `my op = match["infix"].ast;` or whatever? basically taken directly from Perl 6's match objects | 12:48 | ||
Ven` | that can work yeah , but should it be an *extra* argument? what other arguments are there? | 12:50 | |
13:00
Ven` left
13:12
Ven` joined
|
|||
masak | it'd have as arguments the things that were inevitably already parsed; an infix would have the lhs, and a postfix would have its term | 13:23 | |
Ven` | ah, right. | 13:30 | |
arguably then, the rhs should also be an argument for the infix. | |||
(otherwise there's no difference between a postfix and an infix) | 13:33 | ||
17:43
Ven` left
17:48
Ven` joined
17:53
Ven` left
|