Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2015-12-13

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
06:21 pdcawley joined #6macros
08:00 pdcawley joined #6macros
10:37 sergot morning o/
11:16 vendethiel joined #6macros
16:05 Ven joined #6macros
16:42 * masak waves from a train
16:44 masak it's becoming increasingly clear that the next immediate focus should be quasis and unquotes. it's high time.
16:45 masak and there is much fun and unexpectedness in getting all that to work.
18:03 Ven yep. yay!
18:03 masak `quasi @ Q::Infix { + }`
18:03 masak what kind of Qtree would you expect back?
18:04 * masak detrains, bbl
18:08 Ven dunno. I'm a bit busy right now, I'll try to look back later
19:06 FROGGS joined #6macros
19:59 masak sure, no problem
21:26 masak vendethiel: ping
21:26 vendethiel still helping some friends doing their projects
21:26 vendethiel zzzz
21:27 masak aha. carry on, then :)
21:28 vendethiel because they didn't do anything during the week!
21:28 vendethiel oh well.
21:28 masak slackers!
22:17 vendethiel quasi @...
22:17 vendethiel well, obviously, I expect a "..." :P
22:18 vendethiel I don't think we discussed "quasi @ ..." yet?
22:18 vendethiel only as splicing syntax, iirc
22:28 masak ok
22:28 masak by default, the parser would see `quasi {` and go "alright, now I am inside a block, so the next thing I will see is a... statementlist"
22:29 masak this precludes generating a lot of useful AST types
22:29 masak or at least makes it a lot more difficult than it has to be
22:30 masak for example, if I wanted to make a quasi for a subroutine trait, I'd have to do something like `quasi { sub i_do_not_care_about_this() is foo(bar) {} }`, and then manually dig out the trait from the resulting quasi AST
22:30 masak solution: something like `quasi @ Q::Infix {`, which directly tells the parser which mode to place itself in as it enters the quasi block
22:31 masak all this is a solution to a problem which Lisp doesn't even have, since it's "modeless" in this sense
22:34 masak ... 'night

| Channels | #6macros index | Today | | Search | Google Search | Plain-Text | summary