On Tue, Mar 18, 2003 at 11:36:13PM +0000, Simon Cozens wrote:
Seriously, someone on IRC the other day was claiming that they already
had a P6RE-in-P5 implementation, and did show me some code, but I've
forgotten where it lives or their real name.

http://www.liacs.nl/~mavduin/P6P5_0.00_01.tar.gz

That someone would be me :-)


I should note that this version has wrong semantics: it is incapable of doing backtracking in various cases including subrules. It only does backtracking within subexpressions that only does "simple" regex (because I translate that to a single perl 5 regex match)

My attempt at getting its semantics right is what triggered all my recent backtracking-related posts. (since continuations are unavailable, it looks like I'll have to settle for the callback system)

--
Matthijs van Duin  --  May the Forth be with you!

Reply via email to