13.07.2015 Views

Parsing Expression Grammar as a Primitive Recursive-Descent ...

Parsing Expression Grammar as a Primitive Recursive-Descent ...

Parsing Expression Grammar as a Primitive Recursive-Descent ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PEG literal matching●Syntax● [s], [c1-c2], 'literal string', .●Semantics●●●●[abcd], match a, b, c or d and consume or returnfailure[0-3], match 0, 1, 2, 3 and consume or return failure'literal string', match the string and consume orreturn failure., match any single character or return failure (at theend of input)13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!