| 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/
|
| |
|
|\ |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Based on https://github.com/toml-lang/toml/blob/master/README.md
|
| | | |\ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Markdown: add support for reference-style links
|
| | | | |/ / |
|
| | | |\ \ \ |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | |/ / |
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| | | | | | |
|
| | | |\ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
Add SGF lexer
|
| | | | |/ / |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove debug output, add a test file for the Slurm lexer.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | |\ \ \
| | | | | |/
| | | | |/|
| | | | | | |
Updating Chapel highlighter
|
| | | | |\ \
| | | | | | |
| | | | | | |
| | | | | | | |
Update for Csound 6.09.0
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | |\ \
| | | | | | |/
| | | | | |/| |
|
| | | | | | |\ |
|
| | | | | | | | |
|
| | | | | | |\ \ |
|
| | | | | | | |\ \ |
|
| | | | | | | | | | |
|
| | | | |\ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Complete rewrite of the Clean lexer
|
| | | | | | |_|_|_|/
| | | | | |/| | | | |
|
| | | | |\ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
Update Dockerfile lexer
Approved-by: m m <marnitto@gmail.com>
|
| | | | | | |/ / / /
| | | | | |/| | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Add Dockerfiles new keyword in the lexer
Improve lexer to parse json arrays on specific commands
Handle line breaks as a bash syntax
|
| | | | |\ \ \ \ \ \
| | | | | | | | | | |
| | | | | | | | | | |
| | | | | | | | | | | |
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>
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
- Also added a snippet to the example file where a string shows up (uncommon in HLSL).
|
| | | | | |_|_|_|/
| | | | |/| | | | |
|
| | | | | | | | | |
|
| | | | |/ / / /
| | | |/| | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* include new error handling keywords
* fix problems with 1-character procs
* include Type.method in method name
* highlight iterators in addition to procs
|