[code] Quick LPEG question...

From: Pedro Andres Aranda Gutierrez <paaguti.att.gmail.com>
Date: Mon, 20 Mar 2017 07:11:18 +0100


I'm working on a lexer for YANG files, which basically follow a simple

simple := keyword identifier value ';'

complex := keyword identifier '{' (complex|simple)+ '}'

With a couple of rules on how identifiers and values are.

The rest would be errors...
Is this possible with LPeg in Textadept?


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 20 Mar 2017 - 02:11:18 EDT

This archive was generated by hypermail 2.2.0 : Mon 20 Mar 2017 - 06:33:25 EDT