| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
'parse-either' and 'parse-both' shadowed the 'stream' variable, causing
failure cases to sometimes return the wrong stream. That is, a stream
that has consumed input characters, not the original stream.
* syntax-highlight/parsers.scm (parse-either, parse-both): Use
'remainder' variable for leftover stream variables rather than
shadowing 'stream'.
|
|
|
|
| |
* syntax-highlight/parsers.scm (parse-maybe): New procedure.
|
|
|
|
|
|
|
|
|
|
| |
This was a thinko. It's redundant with 'parse-fail'.
* syntax-highlight/parsers.scm (parse-never): Delete.
(parse-fail): Rewrite docstring.
(parse-any, parse-each): Use 'parse-fail'.
* syntax-highlight/scheme.scm (parse-specials, parse-openers,
parse-closers): Likewise.
|
|
|
|
| |
* syntax-highlight/parsers.scm (parse-regexp): New procedure.
|
|
|
|
| |
* syntax-highlight/parsers.scm (parse-filter): New procedure.
|
|
|
|
| |
* syntax-highlight/parsers.scm (tagged-parser): Fix typo in docstring.
|
|
|
|
|
|
|
|
| |
The 'until' string needs to be reversed before stringification, since
the rest of the character list is in reverse order.
* syntax-highlight/parsers.scm (parse-delimited): Reverse 'until' string
when stringifying.
|
|
|