Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add lexer for ShExC | Lucas Werkmeister | 2019-07-20 | 3 | -1/+168 |
| | | | | | | | | | | | | | | | | | 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/ | ||||
* | Fix some typos in comments. | Matth?us G. Chajdas | 2019-07-20 | 1 | -2/+2 |
| | |||||
* | Update CHANGES. | Matth?us G. Chajdas | 2019-07-20 | 1 | -5/+15 |
| | | | | Start a new major revision as new lexers have been merged. | ||||
* | Merged in bittucket/pygments-main/hbs-update (pull request #773) | Anteru | 2019-07-20 | 1 | -11/+10 |
|\ | | | | | | | HandlebarsLexer Update | ||||
| * | Update comment. | Mark Lautman | 2018-07-05 | 1 | -1/+2 |
| | | |||||
| * | Add robustness to Handlebars laxer. | Mark Lautman | 2018-07-05 | 1 | -11/+9 |
| | | |||||
* | | Merged in bnbn/pygments-main (pull request #820) | Anteru | 2019-07-20 | 3 | -0/+390 |
|\ \ | | | | | | | | | | Added lexer for Zig programming language | ||||
| * | | use keyword no longer valid, replaced with usingnamespace | Stephen | 2019-07-09 | 1 | -1/+1 |
| | | | |||||
| * | | Added lexer for Zig programming language and test file. | Stephen | 2019-05-23 | 3 | -0/+390 |
| | | | |||||
* | | | Fix #1528 -- Yaml gets confused when a comment contains a key:value pair. | Matth?us G. Chajdas | 2019-07-20 | 3 | -2/+20 |
| | | | |||||
* | | | Update CHANGES. | Matth?us G. Chajdas | 2019-06-22 | 1 | -0/+6 |
| | | | |||||
* | | | Merged in yuce/pygments-main/fix-1521 (pull request #823) | Anteru | 2019-06-22 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | | | | | Fixes #1521, Erlang and Elixir shell lexers | ||||
| * | | | Fixes #1521, Erlang and Elixir shell lexers | Yuce Tekol | 2019-06-02 | 1 | -2/+2 |
| | | | | |||||
* | | | | Make the NasmLexer the default for *.asm. | Matth?us G. Chajdas | 2019-06-22 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | NASM is much more popular than TASM, but get_lexer_for_filename('.asm') would return TASM. Resolved by changing the NASM priority to 1, and adding an analyse_text implementation to both NasmLexer and TasmLexer to help resolve which one to use (PROC should be fairly common in TASM code.) | ||||
* | | | | Remove invalid priority on TypoScriptLexer. | Matth?us G. Chajdas | 2019-06-22 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | | | | | | It's no longer 0 to resolve an ambiguity with the TypeScript lexer -- different file endings are used. | ||||
* | | | | Fix encoding. | Georg Brandl | 2019-06-02 | 1 | -2/+2 |
| | | | | |||||
* | | | | Merged in ↵ | Georg Brandl | 2019-06-02 | 0 | -0/+0 |
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | khuyett/pygments-main/Phap-Tran/rust-add-async-await-try-keyword-1559179913070 (pull request #822) rust: Add async, await, try keyword | ||||
* | | | | rust: Add async, await, try keyword | Phap Tran | 2019-05-30 | 1 | -6/+6 |
|/ / / | |||||
* | | | Merged in gutworth/pygments-main/protobuf-reserved (pull request #821) | Georg Brandl | 2019-05-29 | 0 | -0/+0 |
|\ \ \ | | | | | | | | | | | | | Add protobuf 'reserved' keyword. | ||||
* | | | | Add protobuf 'reserved' keyword. | Benjamin Peterson | 2019-05-28 | 1 | -3/+3 |
|/ / / | | | | | | | | | | The "reserved" keyword allows preventing field names and tags from being reused. See https://developers.google.com/protocol-buffers/docs/proto#reserved. | ||||
* | | | Added tag 2.4.2 for changeset 800a6961ec37 | Georg Brandl | 2019-05-28 | 0 | -0/+0 |
| | | | |||||
* | | | Fixup all headers and some more minor problems.2.4.2 | Georg Brandl | 2019-05-28 | 262 | -1245/+1186 |
| | | | |||||
* | | | Fix CRLF newlines. | Georg Brandl | 2019-05-28 | 1 | -102/+102 |
| | | | |||||
* | | | Boa, SGF: minor fixups | Georg Brandl | 2019-05-28 | 2 | -29/+46 |
| | | | |||||
* | | | Update changelog, prepare 2.4.2 release. | Georg Brandl | 2019-05-28 | 3 | -2/+13 |
| | | | |||||
* | | | Properly decode text in guess_lexer if necessary. | Georg Brandl | 2019-05-28 | 1 | -1/+8 |
| | | | | | | | | | | | | fixes #1438 | ||||
* | | | Added tag 2.4.1 for changeset d13e2dc5bb05 | Matth?us G. Chajdas | 2019-05-24 | 0 | -0/+0 |
| | | | |||||
* | | | Fix PyPI rejecting the long description.2.4.1 | Matth?us G. Chajdas | 2019-05-24 | 1 | -14/+15 |
| | | | | | | | | | | | | The long description failed to parse due to whitespace issues. | ||||
* | | | Update CHANGES and prepare for 2.4.1 release. | Matth?us G. Chajdas | 2019-05-24 | 3 | -2/+4 |
|/ / | |||||
* | | Update CHANGES. | Matth?us G. Chajdas | 2019-05-21 | 1 | -1/+2 |
| | | |||||
* | | Merged in lucatorella/pygments-main (pull request #813) | Anteru | 2019-05-21 | 38 | -56/+2509 |
|\ \ | | | | | | | | | | Add support for @import keyword in Objective-C | ||||
| * | | Fix directive parsing in NasmLexer (fixes #1517.) | Matth?us G. Chajdas | 2019-05-21 | 2 | -2/+34 |
| | | | | | | | | | | | | | | | | | | | | | Directives were parsed independent of whitespace after them, which caused the cpuid instruction to be parsed as CPU & id, instead of cpuid. We now expect a whitespace character after a directive, which seems to match the Nasm documentation. | ||||
| * | | Backed out changeset: df3df829861d | Matth?us G. Chajdas | 2019-05-21 | 2 | -9/+1 |
| | | | |||||
| * | | Don't emit a trailing newline in nowrap mode (fixes #1514.) | Matth?us G. Chajdas | 2019-05-18 | 2 | -1/+9 |
| | | | |||||
| * | | Fix comment handling in Prolog lexer (#1511.) | Matth?us G. Chajdas | 2019-05-18 | 2 | -1/+1 |
| | | | | | | | | | | | | # does not start a comment in Prolog. | ||||
| * | | Update terminal formatter tests. | Matth?us G. Chajdas | 2019-05-18 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | In eea5abc9161a, we changed the TerminalFormatter to use bright instead of bold, and this caused the tests here to fail. | ||||
| * | | Stop highlighting primitive types in Coq (fixes #1430.) | Matth?us G. Chajdas | 2019-05-18 | 2 | -2/+3 |
| | | | |||||
| * | | Don't use bold for bright text in the console formatter (fixes #1480.) | Matth?us G. Chajdas | 2019-05-18 | 1 | -1/+1 |
| | | | |||||
| * | | Add 'of' to TypeScript grammar (fixes #1515.) | Matth?us G. Chajdas | 2019-05-18 | 1 | -1/+1 |
| | | | |||||
| * | | Update CHANGES. | Matth?us G. Chajdas | 2019-05-09 | 1 | -0/+4 |
| | | | |||||
| * | | Merged in hroncok/pygments-main/doscon_prompt (pull request #734) | Anteru | 2019-05-09 | 2 | -2/+19 |
| |\ \ | | | | | | | | | | | | | Recognize single > as a prompt in doscon | ||||
| | * | | Recognize single > as a prompt in doscon | Miro Hron?ok | 2017-09-22 | 2 | -2/+19 |
| | |/ | | | | | | | | | | Fixes https://bitbucket.org/birkenfeld/pygments-main/issues/1380/lexer-for-cmdexe-interactive-session-with | ||||
| * | | Rename the F# parser to F# (same as C#.) | Matth?us G. Chajdas | 2019-05-09 | 3 | -7/+5 |
| | | | | | | | | | | | | | | | fsharp continues to be a valid alias, so existing code which asks for the FSharp lexer will continue to work. | ||||
| * | | Update CHANGES. | Matth?us G. Chajdas | 2019-05-09 | 1 | -0/+5 |
| | | | |||||
| * | | Merged in SylvainCorlay/pygments-main/css-variables (pull request #814) | Anteru | 2019-05-09 | 12 | -25/+88 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | Allow for CSS variable in pygments stylesheets Approved-by: Anteru <bitbucket@ca.sh13.net> | ||||
| | * | | All lexers should have an alias. | Georg Brandl | 2019-05-08 | 2 | -2/+2 |
| | | | | |||||
| | * | | Added tag 2.4.0 for changeset 88f01f09ab5e | Matth?us G. Chajdas | 2019-05-08 | 0 | -0/+0 |
| | | | | |||||
| | * | | Update CHANGES.2.4.0 | Matth?us G. Chajdas | 2019-05-08 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | The YAML lexer got updated since 2.3.1 as well. | ||||
| | * | | Add docstring to the Boa lexer. | Matth?us G. Chajdas | 2019-05-08 | 1 | -1/+13 |
| | | | | |||||
| | * | | Bump version to 2.4.0. | Matth?us G. Chajdas | 2019-05-08 | 2 | -2/+2 |
| | | | |