Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2016-06-08

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

All times shown according to UTC.

Time Nick Message
01:49 ilbot3 joined #6macros
07:51 Ven joined #6macros
08:37 Ven joined #6macros
08:53 Ven masak: doesn't sound that crazy to me
08:53 Ven after all, they are, in Perl 6, exceptions of sorts.
08:53 Ven also, scala has "breakable" which works the same way
08:55 Ven (the only thing you need to be wary off is... other people catching exceptions?)
08:56 masak what I'm talking about is strictly static, not runtime
08:56 masak it's parts of the Qtree talking to each other through interfaces, basically
09:07 Ven joined #6macros
09:12 masak in case people missed it: https://github.com/masak/007/tree/master/self-host
09:12 masak Ven: the object syntax is so nice to use! makes the language come alive in some way
09:13 Ven that's very nice to hear
09:14 Ven I forgot `{Q::Identifier: sub () {}}` work looks good.
09:14 Ven s/work/worked. /
09:15 masak 007 is a bit weird in that `::` is actually part of the identifier
09:15 masak hm, but I should write those with the `{ Q::Identifier() {} }` shorthand, I realize
09:19 masak updated. that's better.
09:20 masak the next plan is to do in-flight conversion of all the lispy tests in t/, and send them through runtime.007
09:20 masak so one test suite, two runtime implementations
09:21 Ven yeah, LTM makes that very nice
09:21 Ven since '::' will always be matched before trying to match ':'
09:21 Ven (it can probably get messy with backtracking tho)
09:22 masak yes, LTM and backtracking do interact in "interesting" ways :)
09:23 masak basically, once you do LTM, you can't have a separate tokenization phase, I guess. it's all intertwined with the main parsing step.
09:24 masak `::` in identifiers feels a little bit less "fun" now that we have `infix:<::>`
09:24 masak but I don't know how to get out of that -- I'm not willing to rename things like Q::Identifier to something else
09:25 masak so people just have to be a bit careful with identifiers and the `infix:<::>` operator
09:29 masak I'm more and more convinced that the 007 parser needs to go beyond grammars, by the way
09:35 masak yes, you can name a parameter `my` in 007. we find freedoms like this to be fundamental :)
09:50 Ven mmh..
16:50 Ven joined #6macros
17:32 FROGGS joined #6macros
18:46 FROGGS joined #6macros
19:07 FROGGS joined #6macros
19:15 FROGGS joined #6macros
19:21 Ven joined #6macros

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