http://www.perlmonks.org?node_id=171880


in reply to Apocalypse 5 and regexes

I use regular expressions a lot, and pretty much love the syntax. Except when I hate it, of course...

But I also loved Apocalypse 5 (much more than I did, say, #4). Many moons ago, I wrote a paper titled ``Structured Pattern Matching for Forth'' for Forth Dimensions, and Apoc5's named rules are very similar. (If you must know, the Forth version was much more "atomic", backwards too was it and).

What really struck me upon careful reading was that TheDamian's Parse::RecDescent appears to have been assimilated and eliminated! This is excellent news for anyone who loved the syntax but hated the performance -- Apoc5 ILREs (increasingly-less-regular-expressions) appear totally to subsume the functionality of P::RD.

Which also explains <this syntax>, at least for things like <cut>.