| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add WebAssembly lexer
* avoid test failure by using the default function instead of an empty regex
* address small issues
* fix WebAssembly string escapes
* change WebAssembly multiline comment parsing
* update copyright year
* set versionadded to 2.9
* change WebAssembly tests to use the new test system
* change WebAssembly unit test to use snippets
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Two small tweaks to the APL lexer:
1. Add all APL file suffixes
2. Allow leading _ in variable names (GNU APL, Dyalog)
* Build mappings to pick up new file extensions
* Add tests for APL:
1. Leading underscores for variables OK (Dyalog, GNU)
|
|
|
|
|
|
|
|
|
| |
* Add a teal lexer
* fix an indent
* convert tests, fix version, alias
* fix examplefile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#1715)
* [julia] Update operators, keywords, and literal lists
* [julia] Support symbol macros
* [julia] Parse '..' operator juxtaposed with integers
* [julia] Identify Symbol literals
* [julia] Consume strings/commands faster & add triple-quoted command
* [julia] Support identifying operators with custom suffixes
* [julia] Add parsing for raw strings
* [julia] Share definition of interpolation
* [julia] Identify escaped ` and $ in commands
* [julia] Support non-standard string and commmand literals with flags
* [julia] Support variable names with interior exclamations
* [julia] Fix matching floats starting with decimal
* [julia] Compress nearly duplicate number matches with optional group
* [julia] Match double-underscored float literal
* [julia] Match hex float literals
* [julia] Test more non-numerical literal expressions
* [julia] Tag types in type contexts
* [julia] Identify console via `julia-repl` as well
* [julia] Be more conservative in identifying symbols
* [julia] Update example file to v1.6 `base/strings/string.jl`
* Address one CI failure
* Switch to non-emoji Unicode category So example
Hopefully fixes pypy3 CI failure
* fixup: remove duplicate operators already in DOTTED_OPERATORS_LIST
* [julia] Fix backslash operator
* [julia] List `true`, `false` with builtin names, not keywords
|
| |
|
|
|
|
| |
fixes #1726
|
| |
|
|
|
|
|
|
|
| |
* Add (all?) Matlab built-ins
See also https://de.mathworks.com/help/matlab/referencelist.html
* Adjust pytest goldens
|
|
|
|
| |
This adds a newline and makes sure the files round-trip correctly.
|
| |
|
|
|
|
|
| |
* Add J lexer tests for operator ?
* Make J lexer match ? as an operator
|
|
|
|
|
|
|
|
|
| |
* Clarify recognition of "command form" by MATLAB parser.
Expand a bit the explanation; remove an unnecessary non-capturing group,
replace \s+ by \s at the end (we just need to check for the presence of
a space).
* MATLAB: Correctly parse 1./x as (1)(./)(x).
|
|
|
|
| |
LESS lexer didn't handle single-line comments.
|
|
|
|
|
|
|
|
|
| |
mathiasertl-master
Resolve conflicts, move tests to snippets, regenerate example files.
# Conflicts:
# tests/test_shell.py
|
| |
|
|
docs to point to both snippets and examplefiles.
|