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.
00:46 pdcawley joined 02:48 ilbot3 joined 05:39 vendethiel joined 06:35 vendethiel joined 07:21 FROGGS joined 08:01 vendethiel joined 10:45 FROGGS joined
masak I just realized we haven't got the precedence between operators nailed down 17:41
it used to work fine when we had fewer operators, but right now `l == 1 && r == 2` needs parens to work like I want
time to fix that :)
007 has 9 precedence levels, from tightest to loosest, as far as I can see: 17:42
postfixes: [] () .
prefixes: - !
multiplicatives: * x xx
additives: + - ~
cons: ::
comparisons: == != < <= > >= 17:43
disjunction: ||
hm, no: conjunction: && should be above disjunction
assignment: =
masak writes some tests
18:14 vendethiel joined 21:39 vendethiel joined