🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel! Set by lizmat on 6 September 2022. |
|||
00:05
_________ left
00:07
_________ joined
|
|||
jdv | there's a information_schema standard? i think its just .schema in sqlite. | 00:11 | |
guifa | Raku was designed for winning golf by tokens | 00:15 | |
(I think I remember more or less what timtoady said in that respect) | |||
00:21
epony left
00:37
Voldenet left
|
|||
_grenzo | @jdv - From the postgresql docs: The information schema consists of a set of views that contain information about the objects defined in the current database. The information schema is defined in the SQL standard and can therefore be expected to be portable and remain stable | 00:41 | |
SqLite has something similar, but not exactly the same. That said I don't think it will take much to add support for it. | 00:42 | ||
jdv | i didn't know mysql and pg shared a schema thing. wonder how long that's been. | 00:43 | |
tonyo | they've had information schemas for a while | 00:44 | |
00:44
Voldenet joined
|
|||
_grenzo | at least v 5.7 | 00:45 | |
tonyo | mysql 5.0 | ||
pq 7.4 | |||
jdv | i think the most i used mysql was back in the v4 days. huh. | 00:49 | |
01:22
jcallen_ is now known as jcallen
01:24
Manifest0 left
02:18
hulk joined
02:19
kylese left
02:57
jpn joined
03:05
jpn left
03:08
Some-body_ joined
03:10
DarthGandalf left
03:12
Some-body_ is now known as DarthGandalf
03:15
hulk left,
kylese joined
03:43
epony joined
03:45
jpn joined
03:50
jpn left,
jpn joined
03:55
jpn left
04:40
slicer joined
04:55
slicer left
05:23
slicer joined
05:29
slicer left
06:42
jpn joined
06:47
jpn left
07:25
bdju left
07:28
bdju joined
07:38
jpn joined
07:43
jpn left
07:49
jpn joined
08:08
jpn left
08:37
abraxxa joined
09:00
Sgeo left
09:12
Manifest0 joined,
dakkar joined
09:37
slicer joined,
simcop2387_ joined
09:38
simcop2387 left
09:39
simcop2387_ is now known as simcop2387,
hudo__ joined,
slicer left
09:50
sena_kun joined
|
|||
librasteve | TimToady one should do token golf, not keystroke golf 18:36 'course then you have to figure out how to count tokens :16<cafebeef> is one token, probably , but how many is :16($string) ? 18:37 and is foo() fewer tokens than foo.() ? TimToady one could do keystrokes without counting whitespace, I suppose 18:39 whitspace would correspond to a "free drop" in golf :) | 10:02 | |
when your ball token is too close to the grandstands token 18:40 or maybe it's more like lift-clean-and-place rules :) 18:41 would be a nice cultural hack to start the Clean Golf meme 18:42 ignore whitespace, allow Unicode chars as single strokes | |||
^^ from our own irclogs irclogs.raku.org/perl6/2014-03-11.html#18:36 | |||
10:03
abraxxa1 joined
10:04
abraxxa left
|
|||
xinming | releasable6: status | 10:05 | |
releasable6 | xinming, Next release in ≈3 days and ≈8 hours. There are no known blockers. Changelog for this release was not started yet | ||
xinming, Details: gist.github.com/e0b1213ec4f1914036...6b32daf33b | |||
10:20
jpn joined
11:04
cog joined
|
|||
cog | One can export a multi method exported from a module which is mixed into the actions. Can I do the same for tokens to create a new kind of term. | 11:09 | |
multi trait_mod:<is>( ... ) is export # exported multimethod | |||
oops, the trait_mod does not belong to the actions | 11:11 | ||
11:13
hudo__ left,
hudo__ joined,
hudo__ left
11:14
hudo__ joined
|
|||
cog |  So if I define the appropriate role, can I expect the following to work ? | 11:16 | |
 Perl6::Grammar.^mixin(AGrammarRole); | |||
 Perl6::Actions.^mixin(AnActionsRole); | |||
 newFunkyStuffAddedToTheGrammarNoWRecognized | |||
maybe this is the answer : stackoverflow.com/questions/609753...ammar-raku | 11:20 | ||
no luck, says dynamic variable $*LANG noit found | 11:38 | ||
librasteve | I am not sure about MOP stuff like .^mixin, but I do know that you can go grammar G does MyRole {} and re-use your MyRole tokens... how that helps | 11:41 | |
/how/hope/ | |||
cog | that's the rakudo grammar I want to expand | 11:49 | |
guifa | cog if you're trying to modify Raku's grammar itself you'll want to look at some of the slangs for how to do it | 11:52 | |
github.com/alabamenhu/PolyglotBrai...ck.rakumod | 11:53 | ||
cog | I guess I have found a model github.com/lizmat/Slang-Subscripts | 11:54 | |
guifa | $*LANG.define_slang('MAIN', $*LANG.slang_grammar('MAIN').^mixin(YourMixinGrammar), $*LANG.slang_actions('MAIN').^mixin(YourMixinActions)) | ||
guifa is afk | 11:55 | ||
cog | guifa thx | ||
11:56
jpn left
12:00
cog left
|
|||
lizmat | cog: you might also want to look at raku.land/zef:lizmat/Slangify | 12:03 | |
tellable6 | lizmat, I'll pass your message to cog | ||
12:07
jpn joined
12:30
abraxxa joined
12:33
abraxxa1 left
12:44
jpn left
12:52
epony left
12:54
epony joined
|
|||
lizmat clickbaits rakudoweekly.blog/2024/01/22/2024-04-marrow/ | 13:00 | ||
13:08
jpn joined
13:17
Tirifto left
13:49
abraxxa1 joined
13:53
abraxxa left
13:58
kylese left,
hulk joined
14:04
abraxxa1 left
14:07
abraxxa joined
|
|||
hudo__ | Im searching raku syntax highlighting for npp and/or geany (windows) , or in general a windows editor with raku synhighlight | 14:59 | |
15:10
Tirifto joined
15:26
abraxxa left
|
|||
lizmat | commaide.com | 15:34 | |
hudo__ ^^ | 15:37 | ||
15:53
epony left
15:55
epony joined,
allth_78613 joined
15:57
allth_78613 left
16:03
rantanplan joined,
gordonfish- joined
16:05
tejr_ joined,
avuserow joined,
buffet2 joined
16:06
kjp joined,
gfldex_ joined
16:07
peder_ joined
16:08
buffet1 left,
avuserow_ left,
dakkar left,
kjp_ left,
gordonfish left,
discord-raku-bot left,
MasterDuke left,
snonux left,
gfldex left,
jmcgnh left,
tejr left,
peder left,
tejr_ is now known as tejr,
gordonfish- is now known as gordonfish,
peder_ is now known as peder,
discord-raku-bot joined
16:09
epony left,
lizmat_ joined
16:10
epony joined
16:12
lizmat left
16:13
jmcgnh joined
|
|||
antononcube | Geany with Raku would be cool. Maybe Perl's plugin for Geany is not that hard to convert into a Raku one. One thing that is needed is all Raku keywords. | 16:13 | |
16:15
epony left
16:17
epony joined,
dakkar joined
|
|||
[Coke] | "keyword" is not 100% as far as the grammar goes, but the L10N listing is probably a great start. | 16:18 | |
16:31
allth_78613 joined
16:32
jpn left
16:41
allth_78613 left
|
|||
antononcube | 🤔 | 16:53 | |
17:09
allth_78613 joined
|
|||
tbrowder__ | hi, i have much improved module Date::Names for several languages not having the full official abbreviation arrays. and i am also looking to add new languages if we have some new rakuuns whose native language is not one of the current 13 languages. see the CONTRIBUTING doc at the github site: github.com/tbrowder/Date-Names.. | 17:30 | |
i am closing in on making my module Calendar produce pdf versions in all the languages in Date::Names | 17:31 | ||
17:34
dakkar left
|
|||
perryprog | I assume this was already posted but I don't immediately see it in my scrollback, so here: www.hillelwayne.com/post/randomness/ | 17:37 | |
librasteve | I realised that Hillel was a bit of a celeb after seeing his first gremlins post (e.g. podyssey.fm/celebrity-podcasts/id1...lel-wayne) ... nice to see that someone with some influence is liking this raku stuff | 17:42 | |
i quote Raku is an extremely weird language but I’ll keep it as straightforward as I can. haha | 17:51 | ||
18:15
itaipu left
18:17
itaipu joined
18:41
jpn joined
|
|||
ab5tract | I'm glad it raised visibility but, probably due to my experience with the language, I felt like the examples could have been phrased/presented in a more compelling way | 19:17 | |
*it = the gremlins post | 19:19 | ||
This new post is much better in that regard | 19:21 | ||
19:36
abraxxa-home joined
19:56
lizmat_ left,
lizmat joined
|
|||
librasteve | yeah - I like the way that raku was just a mechanism (with some dropbox explanation boxes) so it was not so much pushing the language as just some pretty neat examples of its power | 20:05 | |
ab5tract | yeah, really well done | 20:08 | |
20:11
jpn left
20:19
jpn joined
|
|||
scullucs | (Will this work?: ) | 20:22 | |
weekly www.hillelwayne.com/post/randomness/ | |||
20:23
jpn left
|
|||
Dunno how or if I have rights to add tell the weekly tool to add that article. | 20:23 | ||
lucs | weekly: www.hillelwayne.com/post/randomness/ | 20:26 | |
notable6 | lucs, Noted! (weekly) | ||
scullucs | Aha. | 20:27 | |
20:31
abraxxa-home left
20:37
jgaz joined
21:55
epony left
22:03
epony joined
22:20
slicer joined
22:21
jpn joined
22:25
hudo joined
22:26
jpn left
22:29
slicer left
22:36
slicer joined
22:44
jgaz left,
hudo left,
jgaz joined
22:45
hudo joined
22:46
slicer left
22:52
jpn joined
22:53
hudo left
22:58
sena_kun left,
jpn left
23:16
wlhn joined
23:23
epony left
23:33
kaskal left
23:34
kaskal joined
23:48
Sgeo joined
|
|||
phogg | m: while (False) { ENTER { 'enter'.say; }; LEAVE { 'leave'.say; }; FIRST { 'first'.say; }; LAST { 'last'.say; }; } | 23:55 | |
camelia | last | ||
phogg | I'm surprised. | 23:56 | |
Is that intended behavior? If so, what's the rationale? |