| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ShExC [1] is one syntax for the ShEx (shape expressions) language [2] to
describe the structure of RDF graphs (the other two syntaxes are based on
JSON-LD and RDF and don?t need special lexers). It is syntactically similar to
SPARQL, which is why a lot of the productions of ShExCLexer are copied from
SparqlLexer, but at the same time has enough differences that I feel it?s
better to simply copy the productions rather than trying to share them between
the two lexers (compare e.?g. PN_LOCAL_ESCAPE_CHARS or IRIREF).
The example file purports to be a brief schema for Pygments lexers, which I put
together from scratch to avoid licensing issues with existing example schemas;
it should not be taken too seriously.
[1]: https://shex.io/shex-semantics/#shexc
[2]: https://shexspec.github.io/primer/
|
| |
|
|
|
|
|
| |
fsharp continues to be a valid alias, so existing code which asks for the
FSharp lexer will continue to work.
|
| |
|
| |
|
|\ |
|
| | |
|
|\ \
| | |
| | |
| | | |
Support Tera Term macro language
|
| | |
| | |
| | |
| | |
| | |
| | | |
The patch modifies the Turtle parser in rdf.py, which uses the same file extension.
A unit test file is included.
|
|\ \ \
| | | |
| | | |
| | | | |
Add a lexer for the Boa Domain-Specific Langauge.
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
Add lexer for the Pony language
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | | |
Create a Lexer class for BBC Basic files.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add to CHANGES, languages, add versionadded, recreate mappings, fix DASM16
alias.
|
| | | |\ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Add lexers for DASM16, Augeas, TOML, and Slash
|
| | | | |\ \ \ |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
conflict when submitting the Unicon and Icon lexers
|
| | | | | |/ / |
|
| | | |/ / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Lexers copied unmodified from
https://github.com/liluo/pygments-github-lexers
which is available under a 2-clause BSD license (same as pygments),
copyright 2012 to GitHub, Inc.
Fixes #1391 and #1150.
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The Lexer class for BBC Basic handles both the numbered lines, and
unnumbered lines, of the detokenised (text) format of BBC BASIC.
The tokeniser copes, in a naive manner, with the orignal versions,
and BASIC V. It does not handle other extensions at this time, nor
does it handle inline assembler. This should be sufficient for most
cases where code needs to be presented in a colourful manner.
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | | |
Added lexer for VBScript
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
.typoscript is used for TypoScript files, removing the ambiguity with
TypeScript.
|
| | | | | | |
|
| | | |\ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
add lexer for Charm++ ci files
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Update CHANGES, simplify regex, regenerate mappings.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Remove debug output, add a test file for the Slurm lexer.
|
| | | | |\ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
add Slurm script parser
|
| | | | | | | | |
|
| | | | | |/ /
| | | | |/| | |
|
| | | | |/ /
| | | |/| | |
|
| | | | | | |
|
| | | |\ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Added FloScript lexer
|
| | | | | |/
| | | | |/| |
|
| | | | | | |
|
| | | | |\ \
| | | | | | |
| | | | | | |
| | | | | | | |
Add support for the Fennel programming language
|
| | | | | |/
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | |\ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Add HLSL lexer
Approved-by: Anteru <bitbucket@ca.sh13.net>
|
| | | | | |\ \
| | | | | | |/
| | | | | |/| |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | |/ /
| | | |/| | |
|
| | | |/ /
| | |/| | |
|
| |/ / / |
|
| |/ /
|/| | |
|
| | | |
|
| |/
|/| |
|
| | |
|
|\ \
| | |
| | |
| | | |
Highlight zsh files using the BashLexer
|
| |/ |
|
|\ \
| | |
| | |
| | | |
Match .dpr files as Delphi
|