Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add WAT lexer. | David Thompson | 2023-09-19 | 2 | -0/+61 |
| | |||||
* | guix: Update package version. | David Thompson | 2023-09-15 | 1 | -1/+1 |
| | |||||
* | Add first pass at a JavaScript lexer. | David Thompson | 2023-09-15 | 2 | -0/+75 |
| | |||||
* | Use detached signature when signing releases. | David Thompson | 2023-04-28 | 1 | -1/+1 |
| | |||||
* | Makefile: Update publish target.v0.2.0 | David Thompson | 2023-01-06 | 1 | -1/+1 |
| | |||||
* | Update version to 0.2.0. | David Thompson | 2023-01-06 | 1 | -1/+1 |
| | |||||
* | Add Lisp lexer. | David Thompson | 2022-10-05 | 2 | -0/+101 |
| | |||||
* | README: Update to match current state | Filip Lajszczak | 2022-10-02 | 1 | -2/+4 |
| | | | | | | * Updates list of covered languages * Makes example consistent with the one in project discription on the dthompson.us | ||||
* | guix: Update to new style input specification. | David Thompson | 2022-08-31 | 1 | -8/+3 |
| | |||||
* | guix: Build from local checkout. | Julien Lepiller | 2021-08-23 | 1 | -8/+2 |
| | |||||
* | Makefile: Add css lexer. | Julien Lepiller | 2021-08-23 | 1 | -0/+1 |
| | |||||
* | Add css lexer. | Julien Lepiller | 2021-08-21 | 2 | -8/+604 |
| | |||||
* | guix: Update guile version. | Julien Lepiller | 2021-08-21 | 1 | -1/+1 |
| | |||||
* | Add gitignore lexer. | Julien Lepiller | 2021-07-14 | 2 | -0/+43 |
| | |||||
* | lexers: Add lex-consume-until. | Julien Lepiller | 2021-07-14 | 1 | -0/+39 |
| | | | | | * syntax-highlight/lexers.scm (lex-consume-until, token-append): New variables. | ||||
* | sxml: Allow multiple classes. | Julien Lepiller | 2021-07-14 | 1 | -2/+8 |
| | | | | | * syntax-highlight.scm (highlights->sxml): Allow multiple tags in syntax elements. | ||||
* | scheme: Fix variable export. | David Thompson | 2021-01-05 | 1 | -1/+1 |
| | |||||
* | configure: Accept Guile 3.0. | David Thompson | 2019-06-02 | 1 | -1/+1 |
| | |||||
* | Makefile: Add publish target.v0.1 | David Thompson | 2018-03-10 | 1 | -0/+6 |
| | |||||
* | Makefile: Fix compiled Guile file installation directory. | David Thompson | 2018-03-10 | 1 | -1/+1 |
| | |||||
* | Add C lexer. | David Thompson | 2018-03-10 | 2 | -0/+109 |
| | |||||
* | Update Guix development snapshot. | David Thompson | 2016-02-16 | 1 | -2/+2 |
| | |||||
* | build: Fix installation directories. | David Thompson | 2016-02-16 | 1 | -2/+2 |
| | | | | | * Makefile.am: Use $GUILE_EFFECTIVE_VERSION to install modules to the correct place. | ||||
* | Update Guix development snapshot. | David Thompson | 2016-02-16 | 1 | -4/+6 |
| | |||||
* | Allow building with Guile 2.2. | David Thompson | 2016-02-16 | 1 | -1/+2 |
| | |||||
* | Delete parsers modules. | David Thompson | 2016-02-16 | 2 | -225/+0 |
| | | | | | * syntax-highlight/parsers.scm: Delete. * Makefile.am (SOURCES): Delete it. | ||||
* | Rewrite highlighters in terms of lexers. | David Thompson | 2016-02-16 | 3 | -194/+158 |
| | |||||
* | Add lexers module. | David Thompson | 2016-02-16 | 2 | -0/+334 |
| | | | | | | | | This starts the transition away from the flawed parser combinators to something really similar, but more capable. * syntax-highlight/lexers.scm: New file. * Makefile.am(SOURCES): Add it. | ||||
* | guix: Add source field. | David Thompson | 2015-10-21 | 1 | -1/+8 |
| | |||||
* | Gracefully handle parse failures. | David Thompson | 2015-10-21 | 1 | -2/+8 |
| | | | | | * syntax-highlight.scm (highlight): Add remainder of code to result as a plain string if parsing fails. | ||||
* | Add (syntax-highlight utils) module. | David Thompson | 2015-10-21 | 4 | -8/+40 |
| | | | | | | | * syntax-highlight.scm (string->stream): Move it. * syntax-highlight/parsers.scm (stream->string): Likewise. * syntax-highlight/utils.scm: New file. * Makefile.am (SOURCES): Add it. | ||||
* | xml: Reverse order of operations issue. | David Thompson | 2015-10-21 | 1 | -1/+1 |
| | | | | | | | Try to parse close tags before open tags. * syntax-highlight/xml.scm (xml-highlighter): Switch order of 'parse-close-tag' and 'parse-open-tag'. | ||||
* | README: Explain the purely functional parser combinator API. | David Thompson | 2015-10-20 | 1 | -0/+13 |
| | |||||
* | README: Rephrase "Implementation details." | David Thompson | 2015-10-19 | 1 | -13/+14 |
| | |||||
* | Add XML highlighter. | David Thompson | 2015-10-19 | 3 | -0/+113 |
| | | | | | | * syntax-highlight/xml.scm: New file * Makefile.am (SOURCES): Add it. * README ("Supported Languages"): Add "XML." | ||||
* | parsers: Fix variable shadowing issue. | David Thompson | 2015-10-19 | 1 | -5/+5 |
| | | | | | | | | | | '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'. | ||||
* | parsers: Add parse-maybe. | David Thompson | 2015-10-19 | 1 | -0/+11 |
| | | | | * syntax-highlight/parsers.scm (parse-maybe): New procedure. | ||||
* | parsers: Remove parse-never. | David Thompson | 2015-10-19 | 2 | -10/+5 |
| | | | | | | | | | | 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. | ||||
* | README: Add "Implementation details" section. | David Thompson | 2015-10-19 | 1 | -0/+39 |
| | |||||
* | scheme: Allow for custom special symbols. | David Thompson | 2015-10-18 | 1 | -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 Thompson | 2015-10-18 | 1 | -4/+33 |
| | | | | | | * syntax-highlight/scheme.scm (parse-symbol-chars, parse-specials/regexp): New procedures. (parse-keyword): Use 'parse-symbol-chars'. | ||||
* | parsers: Add parse-regexp. | David Thompson | 2015-10-18 | 1 | -0/+10 |
| | | | | * syntax-highlight/parsers.scm (parse-regexp): New procedure. | ||||
* | parsers: Add parse-filter. | David Thompson | 2015-10-18 | 1 | -0/+10 |
| | | | | * syntax-highlight/parsers.scm (parse-filter): New procedure. | ||||
* | parsers: Fix typo in docstring. | David Thompson | 2015-10-18 | 1 | -1/+1 |
| | | | | * syntax-highlight/parsers.scm (tagged-parser): Fix typo in docstring. | ||||
* | scheme: Remove commented code. | David Thompson | 2015-10-18 | 1 | -7/+0 |
| | | | | * syntax-highlight/scheme.scm: Remove commented code. | ||||
* | parsers: Fix parse-delimited. | David Thompson | 2015-10-18 | 1 | -1/+2 |
| | | | | | | | | 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. | ||||
* | README: Mention that only Scheme is supported right now. | David Thompson | 2015-10-18 | 1 | -0/+4 |
| | |||||
* | First commit! | David Thompson | 2015-10-17 | 11 | -0/+763 |