summaryrefslogtreecommitdiff
path: root/syntax-highlight/scheme.scm
Commit message (Collapse)AuthorAgeFilesLines
* scheme: Fix variable export.David Thompson2021-01-051-1/+1
|
* Rewrite highlighters in terms of lexers.David Thompson2016-02-161-91/+65
|
* parsers: Remove parse-never.David Thompson2015-10-191-3/+3
| | | | | | | | | | 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.
* scheme: Allow for custom special symbols.David Thompson2015-10-181-4/+14
| | | | | | | | | The 'make-scheme-highlighter' procedure lets the user override what the set of special symbols and regexps are, useful for adding/removing context-specific symbols. * syntax-highlight/scheme.scm (make-scheme-highlighter): New procedure. (scheme-highlighter): Define in terms of 'make-scheme-highlighter'.
* scheme: Tag symbols beginning with "define" as special.David Thompson2015-10-181-4/+33
| | | | | | * syntax-highlight/scheme.scm (parse-symbol-chars, parse-specials/regexp): New procedures. (parse-keyword): Use 'parse-symbol-chars'.
* scheme: Remove commented code.David Thompson2015-10-181-7/+0
| | | | * syntax-highlight/scheme.scm: Remove commented code.
* First commit!David Thompson2015-10-171-0/+102