summaryrefslogtreecommitdiff
path: root/doc/languages.rst
diff options
context:
space:
mode:
authorJean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>2021-11-21 19:37:58 +0100
committerGitHub <noreply@github.com>2021-11-21 19:37:58 +0100
commitd016802617093378ca9b0a75433051e69a244509 (patch)
treec359a5967b99e2642fe82e874929641c7fff6c5e /doc/languages.rst
parentf22728e722228f534378a82283d47b42c9c74f5f (diff)
downloadpygments-git-d016802617093378ca9b0a75433051e69a244509.tar.gz
Add lexer and style for LilyPond (#1845)
* Add lexer and style for LilyPond GNU LilyPond is a text-based music typesetter. Because its concepts are completely different from programming languages, this adds a special-purpose to highlight the special tokens. The SchemeLexer is expanded to gain the ability of detecting when one expression stops. LilyPondLexer subclasses SchemeLexer. Builtins (the most important part) are generated with a script put in external/ (as was already done for Lasso). As part of this change, the CPSALexer is made no longer to inherit from SchemeLexer. The inheritance was unused anyway. * Fixup: translators names have underscores * Fixup: avoid duplicate builtins * Fixup: update goldens * Fixup: typo * Fixup: add missing tokens to style * Fixup: update lexer comments * Fixup: Tentative style adjustments * Fixup: move test file to examplefiles/ * Fixup: miscellaneous fixes (to be finished) * Fixup: escape all braces * Fixup: use Text, not Whitespace * Fixup: fixes for lexing and style * Fixup: update goldens! * Fixup: also test alist assignments * Fixup: recognize escape sequences in strings * Fixup: use Comment.Single * Fixup: Whitespace, not Text! * Fixup: fix pitch parsing * Fixup: update comment * Fixup: remove redundant re.UNICODE
Diffstat (limited to 'doc/languages.rst')
-rw-r--r--doc/languages.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/languages.rst b/doc/languages.rst
index 313edb37..a4fddae2 100644
--- a/doc/languages.rst
+++ b/doc/languages.rst
@@ -96,6 +96,7 @@ Programming languages
* `JSLT <https://github.com/schibsted/jslt>`_
* `Kotlin <https://kotlinlang.org/>`_
* `Lasso <http://www.lassosoft.com/>`_ (incl. templating)
+* `LilyPond <https://lilypond.org>`_
* `Limbo <http://www.vitanuova.com/inferno/limbo.html>`_
* `LiveScript <https://livescript.net/>`_
* `LLVM MIR <https://llvm.org/docs/MIRLangRef.html>`_