[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Most succinct way to parse an HTTP header string
- From: Sean Conner <sean@...>
- Date: Thu, 29 Aug 2013 12:09:27 -0400
It was thus said that the Great David Crayford once stated:
> Thanks kev, that's powerful stuff but what I'm looking for is a way to
> coerce REXX programmers to swap to Lua. The REXX parse instruction is
> less expressive but easier to grok
> http://publib.boulder.ibm.com/infocenter/zos/v1r11/topic/com.ibm.zos.r11.ikjc300/ikj4c31062.htm#wq235.
> Mainframers hate regular expressions which they consider to be some kind of
> strange voodoo! My intention is to somehow interpret a REXX parse string
> into a Lua equivilent.
You could always try LPeg to compile REXX parse instructions.
-spc (It looks straightforward, but then again, I'm not the one writing it 8-P