|
00:01
arkiuat joined
00:06
arkiuat left
00:09
arkiuat joined
00:13
arkiuat left
00:19
arkiuat joined
00:46
ds7832 left
|
|||
| aruniecrisps | A couple of other things I'm doing while I procrastinate on working on the actual side project using Raku: i forked shiki's tmgrammars so I could update the Raku textmate grammar: github.com/arunvickram/textmate-grammars-themes | 00:59 | |
|
01:30
oodani left
01:32
oodani joined
01:39
vasko45355 left,
vasko45355 joined
02:31
hulk joined
02:32
kylese left
02:41
Aedil joined
02:44
Aedil left
02:47
Aedil joined
03:15
hulk left,
kylese joined
04:02
arkiuat left
04:12
arkiuat joined
04:18
justache left
04:21
justache joined
04:38
Pixi left
05:28
melezhik joined
06:08
Aedil left
06:10
Sgeo left
06:19
Sgeo joined
06:29
Sgeo_ joined
06:30
Sgeo left
06:38
Pixi joined
06:40
melezhik_ joined
06:48
melezhik_ left,
melezhik_ joined
06:57
arkiuat left
07:00
wayland76 joined
07:02
Sgeo_ left
07:05
melezhik_ left,
melezhik_ joined
07:18
melezhik_ left,
melezhik_ joined
07:24
melezhik_ left,
melezhik_ joined
07:25
arkiuat joined
|
|||
| Geth | raku.org: jubilatious1++ created pull request #272: Simplify "radius" OOP example |
07:27 | |
|
07:30
arkiuat left
07:35
holyghost joined
07:37
melezhik_ left,
melezhik left,
melezhik_ joined
07:42
melezhik_ left
07:58
arkiuat joined
08:02
arkiuat left
08:03
melezhik_ joined,
melezhik_ left,
melezhik_ joined
08:30
arkiuat joined
|
|||
| ab5tract | aruniecrisps: wow! I think a lot of IDEs use these, right? | 08:30 | |
|
08:33
sorenson left
08:35
arkiuat left
08:43
sorenson joined
08:53
arkiuat joined
08:56
melezhik_ left,
melezhik_ joined
08:58
arkiuat left
09:04
melezhik_ left,
melezhik_ joined
09:09
melezhik_ left,
melezhik_ joined
09:14
melezhik_ left
09:15
melezhik_ joined
09:20
melezhik_ left,
melezhik_ joined
09:25
melezhik_ left
09:26
melezhik_ joined
09:27
arkiuat joined
09:31
arkiuat left
09:34
melezhik_ left,
melezhik_ joined
09:36
apa_c left
09:42
melezhik_ left,
melezhik_ joined
09:50
melezhik_ left,
melezhik_ joined
09:54
arkiuat joined
09:59
arkiuat left
10:03
melezhik_ left
10:04
melezhik_ joined,
xinming joined
10:09
melezhik_ left,
melezhik_ joined
10:15
melezhik_ left,
melezhik_ joined
10:18
Guest6080 joined,
Guest6080 left,
Guest6080 joined,
Guest6080 is now known as ds7832
10:25
melezhik_ left,
melezhik_ joined
10:27
arkiuat joined,
Aedil joined
10:31
melezhik_ left,
melezhik_ joined
10:32
arkiuat left
10:43
melezhik_ left
10:44
melezhik_ joined
10:51
melezhik_ left
10:54
melezhik_ joined
10:55
arkiuat joined
10:56
melezhik_ left
11:00
arkiuat left
11:18
melezhik joined
|
|||
| simon_sibl | not sure why it works with | but not with ||, I need it to follow the order I put them otherwise it breaks (it always goes for call instead of loop or other stuff) | 11:22 | |
| glot.io/snippets/hcz1ty347p | |||
| (I know its very likely ugly to add the logic in the grammar but whatever, its just a test xD) | 11:23 | ||
| omg I figured it out, its exactly about the order, just had to swap statement and code in the TOP rule | 11:26 | ||
|
11:28
arkiuat joined
|
|||
| although the call is still "eating" the other ones before for some reason | 11:29 | ||
| when using token statement { \s* [ <comment> || <loop> || <assignement> || <call> ] } | |||
|
11:33
arkiuat left
|
|||
| timo | you're using "token", maybe the lack of backtracking is causing unexpected non-matches? | 11:37 | |
| (also, be aware that glot.io runs rakudo 2024.01) | 11:39 | ||
| simon_sibl | it seems to be about backtracking, but I dont understand why it would need that | 11:40 | |
|
11:40
arkiuat joined
|
|||
| when I use regex for loop and statement it all work as expected | 11:40 | ||
| but using rule for both, and removing call in statement, it works | |||
| why adding call at the end breaks the loop, its before call with the || so it shouldnt matter ? | 11:41 | ||
| ooooh | |||
| wait no | |||
| yeah idk xD | |||
| how could I tell the parser stop searching after finding the first match in a || list ? | 11:43 | ||
| timo | i think \s and \n both match newlines, so \s* \n will always need to backtrack | 11:44 | |
|
11:45
arkiuat left
|
|||
| timo | .o( this could be a thing we can statically determine and warn about, actually ) | 11:45 | |
| simon_sibl | hmmm | 11:49 | |
| I guess the loop one is causing me trouble | |||
| maybe because of the backtrack you're telling me about | |||
| timo | oh, i read the code backwards, you actually have \n* \s* | 11:50 | |
| simon_sibl | its probably because I am not supposed to do that but | 11:51 | |
| glot.io/snippets/hcz2luedap | |||
| here for example, it clearly identifies the loop | |||
| but it still runs the call code at the end of the match, and thats what I want to avoid | |||
| timo | do you know about Grammar::Tracer? | 11:52 | |
| simon_sibl | I do not | 11:53 | |
| let me check | |||
| timo | right, "end" is both a syntactically valid call, but you really want it to match for the end of the loop instead | 11:54 | |
| simon_sibl | yes exactly | 11:55 | |
| or I could add some code in the grammar if thats possible that only allow to call/match currently defined functions from %FNS ? | |||
| timo | you can put a negative lookahead in front of the <statement> like [<!before 'end'> <statement>]* 'end' | 11:56 | |
| yeah for example <?{ %FNS{$<fn>}:exists }> | 11:57 | ||
|
11:57
arkiuat joined
|
|||
| simon_sibl | it is indeed much better, those two addons, amazing | 11:58 | |
| thank you so much ! | |||
| while I understand the first one, not totally sure to understand the second one | 12:00 | ||
| wouldnt it replace the result by True or False ? | |||
| and try to match True/False ? | |||
|
12:01
arkiuat left
|
|||
| timo | i think that's what <{ ... }> does, not <?{ ... }> | 12:05 | |
|
12:20
arkiuat joined
12:22
melezhik_ joined
12:25
arkiuat left
12:36
abraxxa left
12:38
melezhik_ left
12:39
abraxxa-home joined
12:41
melezhik_ joined
12:42
abraxxa-home left,
arkiuat joined
12:43
abraxxa-home joined
12:46
melezhik_ left,
melezhik_ joined
12:47
arkiuat left
12:53
melezhik_ left,
melezhik_ joined
13:11
arkiuat joined
13:16
arkiuat left
13:19
melezhik_ left,
melezhik_ joined
13:24
melezhik_ left,
melezhik_ joined
|
|||
| antononcube | @simon_sibl "Grammar::Tracer" is often useful, but, also often, not so much. It is mostly useful for finding hard to spot errors in LLM-generated grammars. (For me.) | 13:33 | |
| (Which brings an interesting application of "Agentic-AI" use...) | 13:34 | ||
|
13:36
Aedil left,
arkiuat joined
13:37
melezhik left,
Aedil joined
13:40
melezhik_ left
13:42
melezhik_ joined
13:46
arkiuat left
13:47
Mahlay left
13:48
mahlay joined
14:02
librasteve_ joined
|
|||
| .seen librasteve | 14:04 | ||
| tellable6 | antononcube, gist.github.com/1799df8a45bf3bb30f...195bcbef19 | ||
| librasteve | o/ | 14:07 | |
|
14:15
arkiuat joined
14:18
melezhik_ left
14:19
melezhik_ joined
14:20
arkiuat left
14:24
Guest5764 joined
14:27
melezhik_ left,
melezhik_ joined
|
|||
| for any folks interested in contributing to the forthcoming London Perl and Raku Workshop (29th Nov), there is a call for talks at www.londonperlworkshop.com/talks | 14:29 | ||
| weekly: www.londonperlworkshop.com/talks | |||
| notable6 | librasteve, Noted! (weekly) | ||
|
14:32
arkiuat joined
|
|||
| antononcube | @librasteve I think submitting articles for Advent calendar is done by making PRs to Advent's repository, right? | 14:35 | |
| librasteve | yes | ||
| antononcube | Also, what is the limit of the number per articles author? (Five?) | ||
| librasteve | well ... PR in author name and title, then follow the CONTRUBTING.md | ||
| the limit is 23 | 14:36 | ||
| since I have reserved the 24 for lizmat annual summary | |||
| lizmat | librasteve++ | ||
| antononcube | Agh, yes -- I could not remember where I read the submission rules. (I.e. in CONTRIBUTING.md.) | 14:37 | |
|
14:37
arkiuat left,
Sgeo joined
|
|||
| librasteve | hopefully we will get a good mix of articles - 5 is probably at the top end since we will likely favour more authors than fewer | 14:38 | |
| antononcube | I was mostly joking with 5. I think have 6-7 Raku articles/posts written at different levels of completion. But for the Advent I would most likely submit 2. | 14:40 | |
|
14:42
melezhik_ left
14:43
melezhik_ joined
14:45
human_blip left
|
|||
| librasteve | that would be cool! maybe keep one in reserve in case the well runs dry on the 22nd, please ;-) | 14:46 | |
|
14:47
human_blip joined
14:52
melezhik_ left,
melezhik_ joined
14:58
human_blip left
14:59
arkiuat joined
15:00
human_blip joined
15:05
melezhik_ left,
melezhik_ joined
15:25
arkiuat left,
arkiuat joined
15:31
arkiuat left,
Aedil left,
apa_c joined
15:35
wayland76 left
15:36
wayland76 joined,
Aedil joined
15:40
melezhik_ left,
melezhik_ joined
15:41
melezhik_ left
15:49
stanrifkin joined
|
|||
| aruniecrisps | @ab5tract Not just IDEs, some code highlighters also use this | 15:49 | |
| the tmlanguge format I mean | 15:50 | ||
|
15:55
human_blip left
15:57
human_blip joined
16:02
ds7832 left
16:08
arkiuat joined
16:30
arkiuat left
16:33
Guest5764 left
16:34
ds7832 joined
16:41
swaggboi left
16:53
arkiuat joined
16:54
swaggboi joined
16:57
arkiuat left
17:04
arkiuat joined
17:07
Aedil left
17:08
MoC joined
17:10
arkiuat left
17:12
Aedil joined
17:13
arkiuat joined
17:15
swaggboi left
17:18
arkiuat left
17:19
lichtkind joined
17:21
melezhik_ joined
17:29
swaggboi joined
17:30
melezhik_ left
17:34
melezhik_ joined
17:37
swaggboi left
17:39
arkiuat joined
17:44
arkiuat left
17:48
melezhik_ left
17:49
melezhik_ joined
17:50
ds7832 left,
ds7832 joined,
swaggboi joined
17:53
arkiuat joined,
melezhik_ left
17:57
arkiuat left
18:14
apa_c left
18:16
stanrifkin left,
arkiuat joined
18:22
melezhik joined
18:32
xinming left
18:39
xinming joined
18:41
xinming left
|
|||
| melezhik | This indigodday guy Oscars | 19:27 | |
| Sorry for the typo , hit the button too really in my phone | |||
| This indigodaddy user occasionally throws some open source projects to HN, and I was surprised to see two of my projects here in his recent HN posts - Sparrow and Sparrow. Maybe this is a bot, I dunno , but still cool I think - news.ycombinator.com/submitted?id=indigodaddy | 19:30 | ||
| Look like is human being , not a bot , makes some comments as well - news.ycombinator.com/threads?id=indigodaddy | 19:31 | ||
| Oh maybe 🤔 is one of ours ? Don’t recall this name though here | 19:32 | ||
|
19:49
MoC left
20:35
Aedil left
21:28
abraxxa-home left
21:30
arkiuat left
21:37
wayland joined,
stanrifkin joined,
wayland76 left
21:44
arkiuat joined
21:53
arkiuat left
21:55
arkiuat joined
22:00
arkiuat left
22:01
eseyman left
22:02
melezhik left
22:03
manu_ joined,
manu_ is now known as eseyman
22:22
arkiuat joined
22:27
arkiuat left
22:28
arkiuat joined
22:31
Sgeo_ joined
22:33
vasko453558 joined
22:34
hulk joined,
arkiuat left
22:36
tejr_ joined
22:39
ds7832 left
22:40
justache- joined,
committable6 left,
quotable6 left,
releasable6 left,
sourceable6 left,
unicodable6 left,
johnjaye left,
simcop2387 left,
lizmat left,
justache left
22:41
Sgeo left,
kylese left,
vasko45355 left,
tejr left,
jrjsmrtn_ left,
cm left,
vasko453558 is now known as vasko45355,
tejr_ is now known as tejr,
simcop2387 joined
22:44
pi1 joined,
lizmat_ joined,
jrjsmrtn joined,
cm joined
22:47
arkiuat joined
22:59
stanrifkin left
23:02
melezhik joined
23:13
justache- is now known as justache
23:24
lizmat_ left,
lizmat joined
23:51
arkiuat left
|
|||