00:18 tobs joined 01:27 Manifest0 left 01:44 ACfromTX joined
ab5tract c.a63: beta 25 should fix the mult-line REPL 02:46
c.a53: beta 25 should fix the mult-line REPL
02:54 hulk joined 02:55 kylese left 03:15 hulk left, kylese joined 04:09 lizmat_ joined 04:12 kjp left 04:13 lizmat left, kjp joined 04:14 kjp left, kjp joined 04:16 avarab left 04:28 avar joined 04:40 xinming joined 05:25 summerisle_ left, gabiruh left, peder left, Opus left, GreaseMonkey left, gordonfish left, charsbar left, avar left, kylese left, swaggboi left, perlbot left, andinus left, hudo__ left, dustinm` left, gfldex left, discord-raku-bot left, ilogger2_ left, tbrowder left, tonyo left, drakonis left, committable6 left, ecocode left, quotable6 left, kst`` left, dutchie left, BinGOs left, jcallen left, Sgeo_ joined 05:27 committable6 joined, ecocode joined, quotable6 joined, kst`` joined, dutchie joined, BinGOs joined, jcallen joined, Sgeo left, avar joined, kylese joined, swaggboi joined, perlbot joined, andinus joined, hudo__ joined, dustinm` joined, gfldex joined, discord-raku-bot joined, ilogger2_ joined, tbrowder joined, tonyo joined, drakonis joined 05:28 summerisle_ joined, gabiruh joined, peder joined, Opus joined, GreaseMonkey joined, gordonfish joined, charsbar joined 05:38 ACfromTX left 05:39 ACfromTX joined 06:18 Aedil joined 06:30 Sgeo_ left 07:39 lizmat_ left 07:40 lizmat joined 07:54 human-blip left 07:55 human-blip joined, human-blip left 07:56 human-blip joined 09:03 Manifest0 joined 09:14 dakkar joined 09:49 sena_kun joined 10:54 merp joined 11:36 librasteve_ joined
lizmat clickbaits rakudoweekly.blog/2024/11/04/2024-43-one-of-21/ 12:46
13:27 sena_kun left 13:33 sena_kun joined 13:34 sena_kun left, sena_kun joined 15:43 RAJ joined, RAJ is now known as Guest915, Guest915 left
SmokeMachine is there a way to avoid conflicts from local code when you call .AST on a string 15:46
?
like this:
m: class C {}; Q|class C {}|.AST 15:47
camelia ===SORRY!=== Error while compiling
Redeclaration of symbol 'C'.
at line
15:47 sena_kun left, sena_kun joined
timo m: class C {}; package { say Q|class C {}|.AST } 15:49
camelia RakuAST::StatementList.new(
RakuAST::Statement::Expression.new(
expression => RakuAST::Class.new(
name => RakuAST::Name.from-identifier("C"),
body => RakuAST::Block.new(
body => RakuAST::Blockoid.new(
Ra…
timo :D
ugexe you could make one my scoped if that is an option
m: class C {}; Q|my class C {}|.AST 15:50
camelia ( no output )
timo `my $eval_ctx := nqp::getattr(CALLER::,PseudoStash,'$!ctx');` the AST method is explicitly doing this and it doesn't look configurable
but it's also saying that the AST method is "for core debugging mainly" 15:51
SmokeMachine what about this? 15:55
m: class C { sub a is export {} }; package {say Q|class C { sub a is export {} }|.AST}
camelia ===SORRY!=== Error while compiling EVAL_0
A symbol '&a' has already been exported
at EVAL_0:1
timo m: class C { sub a is export {} }; my package { say Q|class C { sub a is export {} }|.AST } 15:56
camelia ===SORRY!=== Error while compiling EVAL_0
A symbol '&a' has already been exported
at EVAL_0:1
timo m: class C { sub a is export {} }; my package { say Q|my class C { sub a is export {} }|.AST }
camelia RakuAST::StatementList.new(
RakuAST::Statement::Expression.new(
expression => RakuAST::Class.new(
scope => "my",
name => RakuAST::Name.from-identifier("C"),
body => RakuAST::Block.new(
body => RakuAST::Blo
timo m: class C { sub a is export {} }; package { say Q|my class C { sub a is export {} }|.AST }
camelia RakuAST::StatementList.new(
RakuAST::Statement::Expression.new(
expression => RakuAST::Class.new(
scope => "my",
name => RakuAST::Name.from-identifier("C"),
body => RakuAST::Block.new(
body => RakuAST::Blo
timo the "my class" seems to do that as well, ugexe++
SmokeMachine my problem is that I'm searching by code on my home (this intends to become a tool) and when if finds the code I'm using to find the AST, it breaks... Something like this: usercontent.irccloud-cdn.com/file/.../image.png 16:02
timo yeah, i'd say steal the contents of the AST method and make a change or two. then use a context that doesn't have anything in it. i'm not sure what happens if you don't pass the "outer_ctx" named parameter to $compiler.compile, maybe that's exactly what you need 16:04
16:14 RandalSchwartz joined 16:25 RandalSchwartz left
ab5tract SmokeMachine: you'll want to port the AST method anyway, I think, as it may be marked as an implementation detail or otherwise removed/replaced 16:33
16:59 silug5 joined, silug left, silug5 is now known as silug 17:44 dakkar left 18:05 kst`` left
coleman rebooting docs sites 20:05
SmokeMachine Thank you all! Sorry for the delay, I had to go back to work... I think that's almost there: usercontent.irccloud-cdn.com/file/.../image.png 20:24
20:31 Xliff joined
Xliff \o 20:31
Who runs the @raku.rocks domain? 20:32
coleman I think Liz owns it 20:37
21:12 Aedil left
melezhik. Just dropped a small post on Raku/Golang integration in pipelines. Comments are welcome . news.ycombinator.com/item?id=42055130 21:16
coleman melezhik: i am reminded (favorably) of Puppet Bolt's task definitions and argument parsing 21:53
22:14 apac joined 22:42 Sgeo joined 23:21 sena_kun left