🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
guifa TIL. .。 and 。 all work to separate out elements of a domain *cough codesections* 01:13
moon-child ._. 01:22
sorry, make that
。_。
Geth doc/master: 5 commits pushed by finanalyst++, (Richard Hainsworth)++ 19:09
Geth doc: 5356b30ed3 | Coke++ | xt/pws/code.pws
new words
20:45
Geth problem-solving: vrurg++ created pull request #310:
Add resolution document for #135
22:19
El_Che when you ask for a coke in a bar/bistro/whatever and they serve pepsi for whatever reason, they warn you about it :) 22:35
SmokeMachine Hi you all! As there is method implemented by Raku to class and token, role and regex implemented by regex to grammar, how can I create a custom-method-ish keyword to be implemented by a custom language to my custom class-ish? 22:37
japhb El_Che: I think that's because they have no idea how people will react to getting a different cola than they expect. I'm used to both Coke and Pepsi from dealing with the restaurant soda wars, and Royal Crown even at this point, for restaurants that elected to stay the heck out of it, but even so I occasionally get served something really odd and go "WTH is this?" and it turns out to be some local soda 22:39
brewery or something
SmokeMachine: There's a lot of "custom"s there. Did you write an internal or external DSL? 22:41
SmokeMachine japhb: I’ve been planning on making this (github.com/FCO/EventExpressionLanguage) be defined by a string, né defined by code… 22:45
moon-child japhb: presumably, rather than class A { method b { ... } }, custom-classish A { custom-methodish b { ... } } 22:59
where the ... isn't a code block, but has its own grammar rules, as a regex 23:00
SmokeMachine moon-child: exactly! 23:10
moon-child (I have no idea how to do that, fwiw, but) 23:11
SmokeMachine :( 23:17
Me neither… :(
Voldenet define_slang with some additional declarators 23:19
I'm not sure how to do that, but it's something
mix in grammar rules for package_declarator:sym<custom-classish> routine_declarator:sym<custom-metodish> and then add actions 23:23
kind of similar thing: github.com/raku-community-modules/...an.rakumod 23:27
SmokeMachine For the classish I was thinking in using EXPORTHOW DECLARE as it's done on Red’s model (github.com/FCO/Red/blob/master/lib/Red.pm6#L59) 23:39
Voldenet but i'm not sure if you can define `has $a1 = #1.a;` then 23:54