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 17 June 2015.
08:37 Ven joined 09:58 Ven joined 11:29 Ven joined 15:29 Ven joined 19:05 vendethiel joined 19:08 vendethiel- joined
vendethiel- good stuff on 007 :) 20:22
masak working on getting custom-ops to a mergeable state now. 20:24
vendethiel- that's what I saw ;-)
I see your pushes in realtime :P
masak it's more work than I thought. but it will end up making 007 much more useful.
vendethiel-
.oO( except when I'm sleeping )
masak well, all the activity you might have seen on the custom-ops branch was just a rebase. that branch is quite old at this point :)
anyhoo, the goal of the custom-ops branch is to basically put ops and subs on an equal footing. 20:25
vendethiel- yeah, I guess you didn't do those 10 commits today :P
(+ with somebody else commiting)
masak oh right, sergot++ did a bit of it too 20:26
right now I'm thinking of a good data structure for op prec levels. 20:27
going with array (levels) of array (same-prec ops) of op for now.
not super-efficient, but relatively easy to think about.
vendethiel- a graph? 20:29
masak I don't follow. a graph is not a very concrete data structure. an array is. 20:33
the sacrifice I'm making is doing a bit more linear searching than necessary. but I'm buying a bunch of simplicity, too. 20:34
vendethiel- right. you can use an array organized as a graph, obviously
masak essentially what it is. 20:49
except the graph is always totally ordered, so it's more of an ordered sequence of prec levels.
vendethiel- nice :) 21:02
masak it's totally ordered, because 'is tighter' and 'is looser' always installs a new op next to an old op level, and 'is equal' always installs in an existing op level. 21:04
vendethiel- I'd ask if you looked at mixfix parsing in agda, but... :P I know your free time is *very* short 21:05
masak we've talked about mixfix parsing before. you linked me a PDF. 21:15
I believe I concluded that it's a bit too general for what I want, and would take 007 too far afield from Perl 6.
vendethiel- the technique used is *very* interesting though :) 21:16
that's what I was getting at
Anyway, good night :)
masak 'night 21:26