| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
|\ \
| | |
| | |
| | | |
of https://github.com/blu-base/pygments into blu-base-lexers_ijkl
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| |
| |
| |
| |
| | |
Highlighting as Keyword.Declaration is consistent with the
RacketLexer.
|
| |
| |
| |
| |
| |
| |
| | |
This enriches the space of recognized builtins.
Note that this also fixes the space after a builtin being included in
the token.
|
| |
| |
| |
| |
| | |
Many number literals were not recognized previously, such as
fractions, infinities, hex and complex literals.
|
| |
| |
| |
| |
| | |
Move string parsing to a dedicated state so it can recognize string escapes.
Add support for various kinds of escapes.
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Java: fix lexing of 'record' soft keyword
Refactor the Java lexer to treat `record` as a soft keyword.
Previously, the lexer assumed record is a reserved word, even though
it is a soft keyword which can be used as a variable name.
This refactor lexes record as a keyword only if it appears at the
beggining of the line, with some potential other keywords like public
and private preceding it.
* Remove repetition in capture group
* Update test output
|
|\
| |
| |
| | |
https://github.com/blu-base/pygments into blu-base-lexers_gh
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* lexers: add Elpi
* test: elpi
* Fix copyright
* address code review
|
|\ \
| |/
|/|
| | |
blu-base-lexers_ef
|
| | |
|
|\ \
| | |
| | |
| | | |
blu-base-lexers_de
|
| | | |
|
| | | |
|
| |/
|/| |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit c339afa51bac82515e90da90df3d2a428c612e20
Author: Matthäus G. Chajdas <dev@anteru.net>
Date: Sat Nov 6 22:10:22 2021 +0100
Update tests.
commit b60cf209ad93bc9176581f4a77ece58da4e1212a
Merge: 7f000b4e cf7a978a
Author: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
Date: Sat Nov 6 17:35:34 2021 +0100
Merge branch 'master' into feature-terraform-heredoc
commit 7f000b4ef8930817f4c1249c242d95a9c191f4eb
Author: Chris Rose <offline@offby1.net>
Date: Mon Oct 11 07:47:36 2021 -0700
Eliminate pathological regex case
I updated the terraform lexer to use the ExtendedRegexLexer and to
handle heredocs with a callback, instead of with a regexp for the whole
shebang.
commit 0a1fa1b139b9249f210cd9450dafa8a1ee1715f8
Author: Chris Rose <offline@offby1.net>
Date: Sat Oct 9 20:16:51 2021 -0700
Add support for the `set` type in HCL
commit 18ad21300bb890fc9014a66c7ba2c195429b4d16
Author: Chris Rose <offline@offby1.net>
Date: Sat Oct 9 19:14:27 2021 -0700
Support HCL's heredoc syntax
Fixes #1909
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Whitespace token modernization - ambient lexer
* Whitespace token modernization - ampl lexer
* Whitespace token modernization - apdlexer lexer
* Whitespace token modernization - apl lexer
* Whitespace token modernization - adl lexer
* Whitespace token modernization - arrow lexer
* Whitespace token modernization - asm lexer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Modernize Whitespace token: basic lexer
* Modernize Whitespace token: bibtex lexer
* Modernize Whitespace token: boa lexer
* Modernize Whitespace token: capnproto lexer + new example
* Modernize Whitespace token: cddl lexer
* Modernize Whitespace token: chapel lexer
* Modernize Whitespace token: c_like lexer
* Modernize Whitespace token: configs lexer
* Modernize Whitespace token: console lexer
* Modernize Whitespace token: crystal lexer
* Modernize Whitespace token: csound lexer
* Modernize Whitespace token: css lexer
* Revert a change in basic lexer
|
| |
|
| |
|
|
|
|
|
| |
* Fix #1237 cpp whitespace token usage expanded
* Adapt tests change to 3eff56f5
|
| |
|
|
|
|
| |
Fixes #1851
|
|
|
|
|
|
|
|
|
|
| |
* Add support for JSLT
JSLT is an open-source JSON query and transformation language, inspired
by jq, XPath, and XQuery: https://github.com/schibsted/jslt.
* fixup! Add support for JSLT
* fixup! Add support for JSLT
|
| |
|
| |
|
|
|
|
|
|
|
| |
* tcl lexer: no error for @ or ,
* examplefiles --> snippets
* rename test file to convention
|
|
|
|
| |
The CFamilyLexer was matching whitespace as Text instead of Whitespace.
|
|
|
|
|
|
|
|
|
|
|
|
| |
CFamilyLexer failed to tokenize preprocessor macros when they were
preceded by line break surrounded by spaces. This was the case because
prerpocessor regex rule expected to start at the beginning of the line,
but the space regex rule matched also the whitespace after the line
break. Now the space rule has been refined not to match the line break.
Because of this, the preprocessor regex rule correctly matches
prerpocessor tokens even when they are preceded by white spaces, at the
cost of adding some more tokens in the token stream in some cases. This
change preserves the behavior of invalid preprocessor usage failing to
tokenize.
|
|
|
|
| |
fixes #1843
|
| |
|
|
|
|
|
| |
* Support Terraform 0.14 syntax
* Use \S instead of [^\s]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Support for OMG IDL
Lexer for [Object Management Group Interface Definition Language](https://www.omg.org/spec/IDL/About-IDL/).
* Allow Whitespace Before include in C Preprocessor
It wasn't highlighting the included filename the same as if there was no
space before the include, but now it is.
* Update omg-idl Tests to Latest Requirements
* Update omg-idl versionadded to 2.9
Since I just realized this missed the 2.8 release.
* Add Missing Operators to omg-idl
|
|
|
|
|
|
|
|
|
| |
* Fix PromQL lexer to support values enclosed within single quotes
Values for labels could now be enclosed within single or double quotes.
* Fix a typo into the lables regex for PromQL lexer
The correct label matching operator is `!~` instead of `~!`.
|
|
|
|
| |
Fixes #1771
|
|
|
|
|
|
|
|
|
| |
* lexers: python: add test cases for floats
* lexers: python: fix float lexing
* lexer:python:fixed test syntax
Co-authored-by: Aidan Do <giahuydo99@gmail.com>
|