Regarding my previous letter, I am almost certain that "consume" means a match has been made and eat the string.
"Yield" means "invoke the callback" or "return the section of a AST for that rule.
anyhoo, I have been going through your old emails and cross checking with:https://nim-lang.org/docs/pegs.html
and have come up with a preliminary "terse guide" to the syntax.
I would like to expand this into tests/examples for others to use going forward. Eventually this will make its way to a SqueakBook when/if I get some time.
Anyhoo, if you could peruse it and see if anything jumps out at you that is incorrect/incomplete.
p.s. I have cc'd squeak-dev in case anybody else finds this interesting.
|Free forum by Nabble||Edit this page|