🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
02:11 MasterDuke joined 06:50 dawids joined, dawids left 07:49 sena_kun joined 08:30 sena_kun left
Geth nqp/main: a2df384369 | (Elizabeth Mattijsen)++ | tools/templates/MOAR_REVISION
Bump MoarVM for mimalloc update, Masterduke++
09:02
09:02 finanalyst joined
Geth rakudo/main: 74b55cd4ac | (Elizabeth Mattijsen)++ | tools/templates/NQP_REVISION
Bump NQP for mimalloc update, Masterduke++
09:30
11:10 finanalyst left 11:33 [Tux] left 11:36 [Tux] joined
Geth rakudo/main: 604d6617c3 | (Elizabeth Mattijsen)++ | lib/RakuAST/Deparse/Highlight.rakumod
RakuAST: refine highlighting of comments

Mark empty lines as potential comment lines also
12:47
[Tux] Rakudo v2024.06-14-g604d6617c (v6.d) on MoarVM 2024.06-11-ged50e2c73
csv-ip5xs0.263 - 0.266
csv-ip5xs-201.156 - 1.174
csv-parser1.481 - 1.560
csv-test-xs-200.143 - 0.143
test1.965 - 2.002
test-t0.426 - 0.427
test-t --race0.273 - 0.305
test-t-205.229 - 5.257
test-t-20 --race1.270 - 1.282
14:12
17:01 finanalyst joined
Geth rakudo/main: 8752d0816e | (Elizabeth Mattijsen)++ | lib/RakuAST/Deparse/Highlight.rakumod
RakuAST: handle closing } better in deparsing
19:20
rakudo/main: e0afa0a8c2 | (Elizabeth Mattijsen)++ | lib/RakuAST/Deparse/Highlight.rakumod
RakuAST: don't allow compile time constructs by default

in parsing code for syntax highlighting. To get complete support, the :unsafe name argument must be added. Nudged by patrickb++
19:33
19:50 MasterDuke left
patrickb lizmat: Just so I understand correctly: Without :unsafe the highlighter won't see "use" and similar constructs and bail on the first unknown symbol? So this won't be usable as a general "highlight this raku file" thing, right? 22:22
lizmat ah, good point: I forgot to short-cut "use"
but yes, unless you are sure of the code in question, I wouldn't use it with :unsafe on just any file 22:24
the main goal was to be able to create syntax highlighting for code examples in the documentation
without needing to resort to non-Raku solutionns 22:25
patrickb lizmat: If you manage to pull this off and create a usable raku highlighter in Raku, you earn my deep respect.
lizmat you mean for documentation? consider it pulled off :-) 22:26
anyways, late here, long hot day, time for sleep&