02:33 Pixi` is now known as Pixi 03:05 vrurg_ joined 03:08 vrurg left 07:36 iwuvmika joined
lizmat c: HEAD sub foo { print 'f' }; foo xx 12; 10:35
committable6 lizmat, ¦HEAD(a84c84a): «===SORRY!=== Error while compiling /tmp/u4B7oAtWWU␤Undeclared routine:␤ xx used at line 1␤␤ «exit code = 1»»
ShimmerFairy I saw the discussion of this in #raku-beginner earlier, and I think in addition to a better warning for invalid paren-less function calls that share names with infixes, I think there's another potential option in warning about stacking paren-less calls in general. 13:17
It's perfectly legal, of course, but I think stuff like 'say "foo", chrs 98, 97, 114' has a decent chance of leading to confusion, so possibly worth noting. (At minimum it's definitely something a linter should pick up.) 13:18
Geth rakudo/lizmat-145: a24d898a08 | (Elizabeth Mattijsen)++ | src/Raku/ast/expressions.rakumod
RakuAST: Part 11 of streamlining expressions.rakumod

Added IMPL-RESOLVE method to classes that had resolve logic both in PERFORM-PARSE and PERFORM-CHECK logic to reduce unnecessary code duplication.
Streamline classes: ::Prefix, ::Postfixish, ::Postfix,
   :Postfix::Literal, Postfix::Power, ::Postcircumfix::Index,
   ::Postcircumfix::ArrayIndex, Postcircumfix::HashIndex
   ::Postcircumfix::LiterakHashIndex, ::RakuAST::MetaPostfix::Hyper
   ::ApplyPostfix
14:57
rakudo/lizmat-145: 1be5562624 | (Elizabeth Mattijsen)++ | src/Raku/ast/expressions.rakumod
RakuAST: Part 12 of streamlining expressions.rakumod

Classes: ::ApplyPostfix, ::Ternary, ::Statement::For
16:11
rakudo/lizmat-152: 3cad4702e5 | (Elizabeth Mattijsen)++ | src/core.c/Str.rakumod
Add Str.(r)index(@needles, $pos) variants

  github.com/rakudo/rakudo/issues/6960 showed that at least
in the case or "rindex", this caused an infiniloop (and in the case of "index" it produced an incorrect result).
Fixes #6960
16:47
rakudo: lizmat++ created pull request #6961:
Add Str.(r)index(@needles, $pos) variants
[Coke] so, with the very likely chance that we are not getting 24 advent articles, what do we want to do about it? 18:09
put up placeholder articles, "this article intentionally left blank"? 18:10
hurm, did I misread who had posted 6,11? 18:30
ww
18:39 finanalyst joined
Geth rakudo/main: 7373516532 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | src/core.c/Str.rakumod
Add Str.(r)index(@needles, $pos) variants (#6961)

  github.com/rakudo/rakudo/issues/6960 showed that at least
in the case or "rindex", this caused an infiniloop (and in the case of "index" it produced an incorrect result).
Fixes #6960
19:24
rakudo/lizmat-153: 21f88b0732 | (Elizabeth Mattijsen)++ | src/main.nqp
Nano-opt of Rakudo startup

Replaces 11 @clo.push statements with one nqp::splice(@clo.nqp::list) statement. Roughly saves about 20K nanoseconds from each startup. It's not a lot, but it's something :)
19:27
rakudo: lizmat++ created pull request #6962:
Nano-opt of Rakudo startup
rakudo/lizmat-146: ed2ef4672b | (Elizabeth Mattijsen)++ | 6 files
RakuAST: introduce ::IMPL::Optimizable role (#6945)

Initially only to be used as a flag to indicate that a class, or any of its children, can be optimized. This is then consumed by the classes currently being optimized. And then use as a check to create the initial list of objects to be tried for optimization.
Takes off about .1 second from "stage optimize" of the setting.c for yours truly
19:30
rakudo/lizmat-146: 46ea9c0525 | (Elizabeth Mattijsen)++ | 3 files
RakuAST: streamline handling of native literal values (#6946)

Introduce ::Node.IMPL-PRIMSPEC method which returns 0 in all cases except if the node can produce a native constant value, in which case it is the nqp::objprimspec value (1 = int, 2 = num, 3 = str, 10 = uint).
Use this instead of IMPL-NATIVE-LITERAL-KIND and native-type-flag methods, which would return Nil if non-native. Having IMPL-PRIMSPEC return 0, also allowed simplification of a lot of references to IMPL-NATIVE-LITERAL-KIND, which was an unexpected bonus.
rakudo/lizmat-146: ab0ec1a066 | (Elizabeth Mattijsen)++ | src/Raku/ast/literals.rakumod
RakuAST: simplify ::QuotedString.IMPL-PROCESS-PART logic (#6947)

  - it can never be called with a Nil part, so remove that check
  - simplify loop exit check in .literal-value
21:26 iwuvmika left 21:35 iwuvmika joined
patrickb [Coke]: I'd just leave 'em out. Maybe change the wording in the intro to not say "every day" or "daily" or some such. 22:54