Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix raw strings for regex | Lucas Werkmeister | 2019-07-21 | 1 | -2/+2 |
| | |||||
* | Add lexer for ShExC | Lucas Werkmeister | 2019-07-20 | 2 | -1/+148 |
| | | | | | | | | | | | | | | | | | 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 |
| | |||||
* | 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 | 2 | -0/+127 |
|\ \ | | | | | | | | | | 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 | 2 | -0/+127 |
| | | | |||||
* | | | Fix #1528 -- Yaml gets confused when a comment contains a key:value pair. | Matth?us G. Chajdas | 2019-07-20 | 1 | -1/+1 |
| | | | |||||
* | | | 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 |
| | | | | |||||
* | | | | rust: Add async, await, try keyword | Phap Tran | 2019-05-30 | 1 | -6/+6 |
|/ / / | |||||
* | | | 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. | ||||
* | | | Fixup all headers and some more minor problems.2.4.2 | Georg Brandl | 2019-05-28 | 211 | -1193/+1134 |
| | | | |||||
* | | | 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 | 1 | -1/+1 |
| | | | |||||
* | | | Properly decode text in guess_lexer if necessary. | Georg Brandl | 2019-05-28 | 1 | -1/+8 |
| | | | | | | | | | | | | fixes #1438 | ||||
* | | | Update CHANGES and prepare for 2.4.1 release. | Matth?us G. Chajdas | 2019-05-24 | 1 | -1/+1 |
|/ / | |||||
* | | Merged in lucatorella/pygments-main (pull request #813) | Anteru | 2019-05-21 | 22 | -41/+1888 |
|\ \ | | | | | | | | | | Add support for @import keyword in Objective-C | ||||
| * | | Fix directive parsing in NasmLexer (fixes #1517.) | Matth?us G. Chajdas | 2019-05-21 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -7/+1 |
| | | | |||||
| * | | Don't emit a trailing newline in nowrap mode (fixes #1514.) | Matth?us G. Chajdas | 2019-05-18 | 1 | -1/+7 |
| | | | |||||
| * | | Fix comment handling in Prolog lexer (#1511.) | Matth?us G. Chajdas | 2019-05-18 | 1 | -1/+0 |
| | | | | | | | | | | | | # does not start a comment in Prolog. | ||||
| * | | Stop highlighting primitive types in Coq (fixes #1430.) | Matth?us G. Chajdas | 2019-05-18 | 1 | -2/+0 |
| | | | |||||
| * | | 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 |
| | | | |||||
| * | | Merged in hroncok/pygments-main/doscon_prompt (pull request #734) | Anteru | 2019-05-09 | 1 | -1/+1 |
| |\ \ | | | | | | | | | | | | | Recognize single > as a prompt in doscon | ||||
| | * | | Recognize single > as a prompt in doscon | Miro Hron?ok | 2017-09-22 | 1 | -1/+1 |
| | |/ | | | | | | | | | | 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 | 2 | -7/+4 |
| | | | | | | | | | | | | | | | fsharp continues to be a valid alias, so existing code which asks for the FSharp lexer will continue to work. | ||||
| * | | Merged in SylvainCorlay/pygments-main/css-variables (pull request #814) | Anteru | 2019-05-09 | 8 | -16/+63 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | 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 |
| | | | | |||||
| | * | | 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 | 1 | -1/+1 |
| | | | | |||||
| | * | | Add i128/u128 types to the Rust parser. | Matth?us G. Chajdas | 2019-05-08 | 1 | -1/+1 |
| | | | | |||||
| | * | | Add license information to generated files (fixes #1496). | Matth?us G. Chajdas | 2019-05-07 | 1 | -2/+11 |
| | | | | | | | | | | | | | | | | Also update the license year to 2019. | ||||
| | * | | Merged in fix-1506-2 (pull request #817) | Georg Brandl | 2019-05-07 | 2 | -7/+17 |
| | |\ \ | | | | | | | | | | | | | | | | Never pop all states from the stack, even if a lexer wants to. | ||||
| | | * | | Fix invalid string escape. | Georg Brandl | 2019-05-07 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Never pop all states from the stack, even if a lexer wants to. | Georg Brandl | 2019-05-06 | 1 | -6/+16 |
| | | | | | | | | | | | | | | | | | | | | fixes #1506 | ||||
| | * | | | Add option to wrap the code in both <code> and <pre> (fixes #438.) | Matth?us G. Chajdas | 2019-05-06 | 1 | -2/+18 |
| | |/ / | | | | | | | | | | | | | Adds a new option "wrapcode" which wraps the code using <code>. | ||||
| * | | | Allow for CSS variable in pygments stylesheets | Sylvain Corlay | 2019-05-02 | 2 | -4/+11 |
| |/ / | |||||
| * | | Update mappings, CHANGS and languages. | Matth?us G. Chajdas | 2019-04-30 | 1 | -1/+1 |
| | | | |||||
| * | | Merged in sgarnotel/pygments-main (pull request #785) | Matth?us G. Chajdas | 2019-04-30 | 2 | -0/+968 |
| |\ \ | |||||
| | * | | Add FreeFem++ lexer | sgarnotel | 2018-11-27 | 2 | -0/+968 |
| | | | | |||||
| * | | | Merged in 6wind/pygments-main/lexer-fixes (pull request #766) | Anteru | 2019-04-30 | 2 | -3/+3 |
| |\ \ \ | | | | | | | | | | | | | | | | Lexer fixes | ||||
| | * | | | lexers/apache: allow '>' characters in tags | Robin Jarry | 2018-06-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix lexer to support this: <IfVersion >= 2.4> ErrorLogFormat "%{cu}t %M" </IfVersion> |