Re: [code] Need some LPEG advice.

From: Chris Emerson <c-ta.att.mail.nosreme.org>
Date: Mon, 15 Feb 2016 09:59:05 +0000

On Sun, Feb 14, 2016 at 06:44:40PM -0500, Mitchell wrote:
> >Somewhat related, would it be possible to automatically convert these
> >.plist/.yaml syntax files to LPEG?
>
> LPeg has an "re" module[1] that attempts to map regexes to LPeg
> patterns. It may be of help.

I think that module is more for providing a regex-like syntax for building
LPeg expressions, rather than mapping regex semantics. eg it doesn't have
the regex alternation ("|"), it has the PEG ordered choice ("/").

Regards,

Chris

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 15 Feb 2016 - 04:59:05 EST

This archive was generated by hypermail 2.2.0 : Mon 15 Feb 2016 - 06:48:31 EST