Pretty easy in raku, too[1]. Comes in at 29 lines—a hair under racket :)
(Though, granted, the latter does need to separate lexer and parser.)
(Though, granted, the latter does need to separate lexer and parser.)
I don't know any other programming language that implement grammars in such a clean way.
However, though I think raku's reimagination of regexes is probably the best one—and the one that feels the least bound to legacy—there are other developments in that area. For instance, oil's egg expressions - http://www.oilshell.org/preview/doc/eggex.html
Here you can see my version of the raku parser, it's arguably shorter (I'm not a Prolog expert): https://swish.swi-prolog.org/p/basic_logic_parser.pl