Perl 6 - the future is here, just unevenly distributed

IRC log for #6macros, 2015-10-31

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

All times shown according to UTC.

Time Nick Message
01:24 ilbot3 joined #6macros
02:48 ilbot3 joined #6macros
02:54 vendethiel joined #6macros
08:02 FROGGS joined #6macros
09:51 vendethiel joined #6macros
10:15 vendethiel o/
10:18 masak \o
10:29 vendethiel I'll try to get back to http://irclog.perlgeek.de/6macros/2015-10-29 in the afternoon
10:29 vendethiel but for now, family stuff &
10:29 masak :)
10:32 masak I tested the patch some more. it looks very promising.
10:33 masak I think its weakest point right now is Val::Object's stringification.
10:33 masak the obvious thing is that there's a `=>` in there, which is Perl 6, not 007 :)
10:36 masak but it also doesn't quote/escape its values properly
10:38 * masak notices something odd with the way this is factored for arrays, and goes to fix
10:59 masak ok, just pushed https://github.com/masak/007/commit/745db5b3451e6d881693cfd68f871ab0526f9d0f which will surely help you make a better stringification for objects by exposing the right things
11:02 masak dinner &
11:34 FROGGS_ joined #6macros
14:20 masak Q::Property does Q but not Q::Literal. literals are only for things that can occur in expressions.
14:48 masak pushed yet another small commit that makes quoted stringification easier.
14:55 masak vendethiel: token term:object { '{' ~ '}' <property>* % [\h* ',' \h*] } -- why only horizontal whitespace? surely an object can be written over several lines?
14:55 masak I think both of those should be <.ws>
15:11 masak ...
15:11 masak so, I was thinking
15:11 masak quasi @ Q::Trait { ... } means "put the parser in a state so that it's expecting a trait", right?
15:12 masak and the default `quasi { ... }` means something like `quasi @ Q::Expr { ... }` (because that's what macros return, because that's what both listop calls and operators are)
15:13 masak if that's so, then how come we can write arbitrary statementlists inside of the quasi?
15:13 masak something doesn't add up there.
15:20 masak this doesn't happen in Lisp because "everything's an expression/AST fragment"
15:21 masak in Perl 6, we have to agree with the parser what it is we're parsing
15:59 masak vendethiel: it seems `{bar() {}}` parses as a valid object literal, but `{bar() {} }` doesn't right now
16:04 vendethiel joined #6macros
16:25 vendethiel haha
16:26 vendethiel also, you linked a fork of the riddley project. any reason?
16:26 vendethiel https://github.com/ztellman/riddley seems more up-to-date
18:04 vendethiel joined #6macros
19:54 vendethiel joined #6macros

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