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:15 vendethiel joined 07:37 vendethiel joined 08:04 vendethiel joined 08:11 FROGGS joined
FROGGS o/ 08:11
vendethiel waves 08:12
masak: i invited froggs around 10:55
masak nice 11:47
vendethiel www.parens-of-the-dead.com/ 19:35
even if you don't plan to learn clojure
the way he's able to use his IDEmacs 19:36
is really, really, really impressive. I wonder what it'd take to get something quite like this...
meanwhile, my "perl6-server" somewhat came to a halt due to a GTK::Simple even timo wasn't able to help me on
which randomly crashed moarvm (probably memory corruption...)
masak huh 19:46
my "next step" is to come up with a somewhat plausible code snippet for (say) creating a sub in a macro using a symbol. 19:57
vendethiel that's in the realm of what we discussed, at least :) 19:59
masak yeah 20:01
here's a specific question: do you believe that for `class {{{$name}}} { ... }` to work inside a quasi, the grammar rule that specifies how `class` works needs to be somehow "quasiquoting-aware" ? 20:03
vendethiel not at all
i don't see them as related at all
masak sounds promising 20:14
but how does the AOP-style "advice" happen in a normal grammar? 20:15
vendethiel sorry? 20:18
masak if the class-handling rule says something like `class \\h* <identifier>`, how does Perl 6 know that a `{{{$name}}}` can be placed where the <identifier> subrule is? 20:33
(and that this only works inside a quasi)
vendethiel that might need to be done.. "earlier" 20:34
mmh
masak my point is that I'm... confused... as to what the mechanism would be. 20:54
it feels a little bit like (good) macros want to shoot the standard p6 grammar full of bullet holes to make things unquotable enough. 20:55
'night