summaryrefslogtreecommitdiff
path: root/pygments/lexers/lisp.py
Commit message (Collapse)AuthorAgeFilesLines
* Update project to use modern Python features and idiomsJon Dufresne2019-11-251-13/+13
| | | | | | | | | | Run the pyupgrade tool across the project to use modern language features. - Use set literals - Use dict comprehension - Remove unnecessary numeric indexes in format string - Remove unnecessary extra parentheses
* Elisp: add more string functions (bitbucket PR #841)Georg Brandl2019-11-241-2/+3
|
* Fixup all headers and some more minor problems.2.4.2Georg Brandl2019-05-281-1/+1
|
* Merged in jkmartindale/pygments-main (pull request #775)Anteru2019-03-061-14/+86
|\ | | | | | | | | | | Fix external links in RdLexer and NewLispLexer Approved-by: James Martindale <atlassian@jkmartindale.com>
| * Merged in vodik/pygments-main/hylang-colon-in-identifiers (pull request #754)Anteru2018-12-071-1/+1
| |\ | | | | | | | | | Hy lexer should accept colons inside identifiers
| | * Hy lexer should accept colons inside identifiersSimon Gomizelj2018-04-051-1/+1
| | | | | | | | | | | | | | | Colons inside identifiers are completely legal in this Lisp dialect. Also prevents the lexer from catching on Python literals when lexing REPL output.
| * | Merge heads.Georg Brandl2018-11-281-10/+10
| |\ \
| | * | Fix invalid escapes due to missing raw string prefix.Georg Brandl2018-11-281-6/+6
| | | |
| | * | Fix remaining 'DeprecationWarning: invalid escape sequence' occurrences in ↵Andreas Kloeckner2018-06-191-4/+4
| | |/ | | | | | | | | | lexer files
| * | Minimal fixup changes for the release, add release date.2.3.0Georg Brandl2018-11-251-1/+4
| | |
| * | Merged in technomancy/pygments-main/fennel (pull request #783)Anteru2018-11-241-1/+70
| |\ \ | | | | | | | | | | | | Add support for the Fennel programming language
| | * | Add support for the Fennel programming languagePhil Hagelberg2018-11-161-1/+70
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | This is a pretty straightforward language in the lisp family with a small number of special forms. Since Fennel runs on the Lua runtime, the list of builtins is the same as that of Lua, so it might be possible to re-use the definition from the Lua lexer, but since I don't know Python I couldn't figure out how that would work; maybe someone else could add that.
| * | PEP 479: Raising StopIteration from a generator is now an errorMiro Hron?ok2018-07-041-2/+2
| |/ | | | | | | | | | | So we return instead. Fix needed for Python 3.7. Fixes https://bitbucket.org/birkenfeld/pygments-main/issues/1457
* | Fix external links in RdLexer and NewLispLexerJames Martindale2018-07-161-1/+1
|/
* Copyright update.Georg Brandl2017-01-221-1/+1
|
* Add support for partials and path segments for Handlebars.Christian Hammond2016-11-041-0/+2621
This introduces support for some missing features to the Handlebars lexer: Partials and path segments. Partials mostly appeared to work before, but the `>` in `{{> ... }}` would appear as a syntax error, as could other components of the partial. This change introduces support for: * Standard partials: `{{> partialName}}` * Partials with parameters: `{{> partialName varname="value"}}` * Ddynamic partials: `{{> (partialFunc)}}` * Ddynamic partials with lookups: `{{> (lookup ../path "partialName")}}` * Partial blocks: `{{> @partial-block}}` * Inline partials: `{{#*inline}}..{{/inline}}` It also introduces support for path segments, which can reference content in the current context or in a parent context. For instance, `this.name`, `this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked as variables.