|Keep It Simple, Stupid|
Re: Apocalypse 5 and regexesby ariels (Curate)
|on Jun 05, 2002 at 15:58 UTC||Need Help??|
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>.