Open Pavel-Husakouski opened 10 years ago
ie.
function grammar() { / verbatim > "text" text > anyChar{anyChar} / }
var parser = tuco.compile(grammar);
this should be the equivalent of
var text = anyChar(); var verbatim = between(charIs('"'), text, charIs('"'));
return verbatim;
ie.
function grammar() { / verbatim > "text" text > anyChar{anyChar} / }
var parser = tuco.compile(grammar);
this should be the equivalent of
var text = anyChar(); var verbatim = between(charIs('"'), text, charIs('"'));
return verbatim;