lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: make lpeg.P(table) recursive?
From
: Pierre-Yves Gérardy <pygy79@
...
>
Date
: Thu, 7 Apr 2011 00:50:19 +0200
pat = P{
"e";
e = "r" + V"t",
t = {
"y",
y = "z"
}
}
pat:match"z" -->2
This works too, btw, ie, the "y" match isn't because of "y" being defined as the first pattern.
References
:
make lpeg.P(table) recursive?
,
Pierre-Yves Gérardy
Re: make lpeg.P(table) recursive?
,
Roberto Ierusalimschy
Re: make lpeg.P(table) recursive?
,
Pierre-Yves Gérardy
Prev by Date:
Re: make lpeg.P(table) recursive?
Next by Date:
Re: Workshop 2011
Previous by thread:
Re: make lpeg.P(table) recursive?
Next by thread:
Re: make lpeg.P(table) recursive?
Index(es):
Date
Thread