This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html
Set by lizmat on 8 June 2022.
04:32 DarthGandalf left, DarthGandalf joined 06:30 human-blip left 06:32 human-blip joined 06:51 human-blip left 06:52 human-blip joined 09:16 guifa left 09:19 guifa joined
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2025/05/26/2025-...rcigation/ 09:57
11:27 topnep left 11:34 topnep joined 18:38 habere-et-disper joined 19:41 habere-et-disper left
bobby_jim_birdrock I'm doing something really really stupid and I can't see it. It's driving me nuts. I'm working on a Raku grammar and running into a baffling parse failure. I’ve got a minimal grammar that should match the trivial little string message:UINT8;, and it doesn’t—but everything looks correct. Here's the "full" grammar and the call to .parse(). Anyone seen something like this? grammar Xenober16::Parser2 { 22:03
token ws { \s* } rule TOP { <identifier> <colon> <data-type> <semicolon> } token identifier { <[a..zA..Z_]>+ } token data-type { 'UINT8'i } token colon { ':' } token semicolon { ';' } } use lib './lib'; use Xenober16::Parser2; say Xenober16::Parser2.parse("message:STRING;"); (The result is Nil)
nahita3882 i'm not good with Grammars but you have 'UINT8'i -- what's the trailing i doing there 22:55
as it stands, it is as if you wrote 'UINT8i' 22:56
did you mean to use case insensitive adverb like :i?
bobby_jim_birdrock I think you're right; thank you 23:51