|
05afbb10
|
2020-11-29T00:12:15
|
|
Added test for exponential backtracking (#2590)
This adds a simple test to detect certain causes of exponential backtracking.
|
|
8e76a978
|
2020-11-28T23:23:46
|
|
Shell-session: Fixed false positives because of links in command output (#2649)
|
|
0bb4f096
|
2020-11-28T23:05:53
|
|
JavaStackTrace: Added support stack frame element class loaders and modules (#2658)
|
|
0803525b
|
2020-11-27T15:00:35
|
|
Added support for DataWeave language (#2659)
|
|
5cf9cfbc
|
2020-11-25T23:53:33
|
|
Markdown: Added support for YAML front matter (#2634)
|
|
8fa8dd24
|
2020-11-25T22:59:40
|
|
Core: Fixed bug with greedy matching (#2632)
|
|
deb238a6
|
2020-11-23T21:07:44
|
|
SCSS: Added support for Sass modules (#2643)
|
|
8bfcc819
|
2020-11-21T01:17:39
|
|
Tests: Better pretty print (#2600)
This is a major improvement for the pretty-printer.
The main change is that `TokenStreamTransformer.prettyprint` now takes a Prism token stream instead of a simplified token stream. This means that it has a lot more information to work with and it uses that information.
It mostly behaves like the old pretty-printer with 3 main differences:
1. Tokens that contain a nested token stream that only contains a single string are printed as one line.
Example: `["namespace", ["java"]]`
2. The pretty-printer can now glue tokens together so that they are printed in a single line.
Example: `["number", "100"], ["operator", ".."], ["number", "100"]`
3. Line breaks in the input code may now cause empty lines in the output. Previously, only blank strings containing more at least 2 line breaks produce empty lines. This helps readability as it groups tokens together.
|
|
f0e2b70e
|
2020-11-20T17:09:54
|
|
Added support for Apex (#2622)
|
|
a5107d5c
|
2020-11-15T20:28:34
|
|
Kotlin: Added support for backticks in function names (#2489)
|
|
8831c706
|
2020-11-12T20:43:52
|
|
Added PromQL language (#2628)
|
|
2d3a1267
|
2020-11-06T23:50:40
|
|
Tests: Fixed sorted language list test (#2623)
|
|
7951ca24
|
2020-11-04T21:54:24
|
|
Scheme: Fixed function and function-like false positives (#2611)
|
|
0889bc7c
|
2020-11-04T21:44:48
|
|
Java: Improved package and class name detection (#2599)
|
|
0df60be1
|
2020-11-04T17:18:23
|
|
Tests: Stricter pattern for nice-token-names test (#2588)
|
|
25bdb494
|
2020-11-04T11:51:00
|
|
TSX: Temporary fix for the collisions of JSX tags and TS generics (#2596)
|
|
129faf5c
|
2020-11-04T11:48:51
|
|
C: Better class name and macro name detection (#2585)
|
|
00bf00e3
|
2020-10-26T14:49:26
|
|
Apache Configuration: Update directive-flag to match '=' (#2612)
|
|
093c8175
|
2020-10-23T20:58:36
|
|
Julia: Removed constants that are not exported by default (#2601)
* Remove Julia constants that are not exported by default
* Julia: build and fix test
|
|
df922d90
|
2020-10-16T22:20:59
|
|
PHP: Added support for PHP 8.0 features (#2591)
|
|
b04cbafe
|
2020-10-13T14:26:34
|
|
CSS: Better HTML `style` attribute tokenization (#2569)
|
|
73f81c89
|
2020-10-13T14:24:24
|
|
Java: Added Java 15 keywords (#2567)
|
|
38808e64
|
2020-10-13T14:03:42
|
|
PHP: Added support for PHP 7.4 + other major improvements (#2566)
|
|
1761513e
|
2020-10-05T18:01:19
|
|
PHP: Added `match` keyword (PHP 8.0) (#2574)
PHP introduces a new [`match` keyword in PHP 8.0](https://php.watch/versions/8.0/match-expression).
|
|
59853a52
|
2020-10-01T12:33:11
|
|
YAML: Improved key pattern (#2561)
|
|
cb75d9e2
|
2020-09-13T23:26:33
|
|
Added support for SML (#2537)
|
|
3b4f14ca
|
2020-09-13T23:25:43
|
|
Rust: Fixed Unicode char literals (#2550)
|
|
4d31e22a
|
2020-09-11T12:07:11
|
|
Added support for Birb (#2542)
|
|
f62ca787
|
2020-08-31T17:56:46
|
|
Regex: Changed how languages embed regexes (#2532)
|
|
e4f6ccac
|
2020-08-30T15:08:38
|
|
Scheme: Added support for R7RS syntax (#2525)
|
|
ad748a00
|
2020-08-30T18:16:21
|
|
Added PureScript language definition (#2526)
|
|
e023044c
|
2020-08-28T18:38:14
|
|
Haskell: Improvements (#2535)
|
|
c51ababb
|
2020-08-27T23:51:16
|
|
JS Extras: Highlight import and export bindings (#2533)
|
|
6c921801
|
2020-08-27T19:14:20
|
|
Shell session & bash: Highlight all commands after the start of any Heredoc string (#2509)
|
|
bafab634
|
2020-08-17T16:22:21
|
|
Tests: Added an option to accept the actual token stream (#2515)
|
|
5c33f0bb
|
2020-08-17T15:39:02
|
|
Added support for BSL (1C:Enterprise) (#2520)
|
|
004eaa74
|
2020-08-14T00:00:21
|
|
Added support for MongoDB syntax (#2518)
|
|
2da2beba
|
2020-08-12T13:10:38
|
|
Added support for Stan (#2490)
|
|
bf115f47
|
2020-08-11T15:33:48
|
|
Added support for TypoScript (#2505)
|
|
388ad996
|
2020-08-07T21:14:34
|
|
Add support for NaniScript (#2494)
|
|
158caf52
|
2020-07-30T22:54:34
|
|
JSON: Greedy comments (#2479)
Comments are now greedy allowing them to break strings, properties, and each other.
|
|
f0f8210c
|
2020-07-28T00:45:28
|
|
Batch: Fix escaped double quote (#2485)
|
|
649e51e5
|
2020-07-27T13:50:41
|
|
Added support for Dhall (#2473)
|
|
ed1df1e1
|
2020-07-22T17:27:00
|
|
Added support for YANG (#2467)
|
|
3fcce6fe
|
2020-07-22T18:12:01
|
|
Added support for .gitignore (#2481)
|
|
0c30c582
|
2020-07-22T17:45:05
|
|
EditorConfig: Trim spaces before key and section title (#2482)
The `key` and `section` tokens sometimes included leading spaces.
|
|
2ff40fe0
|
2020-07-18T15:29:33
|
|
Rust: Improvements (#2464)
|
|
2805ae35
|
2020-07-18T15:02:33
|
|
JSDoc: Improvements (#2466)
|
|
398e2943
|
2020-07-18T14:58:39
|
|
Added support for Cypher (#2459)
|
|
4f55052f
|
2020-07-18T14:53:05
|
|
JS: Improved regex detection (#2465)
|
|
bea7a585
|
2020-07-14T14:47:21
|
|
SQL: Added PostgreSQL `RETURNING` keyword (#2476)
|
|
40285203
|
2020-07-13T13:24:32
|
|
Core: Fixed greedy matching bug (#2032)
|
|
ed8fff91
|
2020-07-11T01:07:19
|
|
Added support for EditorConfig (#2471)
|
|
278316ca
|
2020-07-06T15:01:10
|
|
SAS: Improved macro string functions (#2463)
|
|
537a9e80
|
2020-07-05T15:22:39
|
|
CSP: Fixed directives (#2461)
|
|
a0a9f1ef
|
2020-07-02T17:46:04
|
|
SAS: Handle edge case of string macro functions (#2451)
|
|
7c66cfc4
|
2020-07-02T17:42:38
|
|
AutoHotkey: Added missing "format" built-in (#2450)
|
|
8a72fa6f
|
2020-06-29T13:09:56
|
|
C/C++: Improved macros and expressions (#2440)
|
|
681adeef
|
2020-06-28T03:16:17
|
|
Add extra newlines in pretty token streams (#2070)
The formatter for the simplified token streams of our test cases will now emit extra (empty) newlines if the tested code also has an empty line at those positions.
|
|
8e9d161c
|
2020-06-28T02:00:03
|
|
C++: Added support for default comparison operator (#2426)
|
|
964de5a1
|
2020-06-28T01:44:00
|
|
CSS: Improved url and added keywords (#2432)
|
|
22eb5cad
|
2020-06-28T01:41:28
|
|
Added support for Smali (#2419)
|
|
a13ee8d9
|
2020-06-28T01:40:12
|
|
VB: Added `until` keyword (#2423)
|
|
583e7eb5
|
2020-06-28T01:39:28
|
|
Tests: Always pretty-print token streams (#2421)
|
|
4ff555be
|
2020-06-28T01:34:29
|
|
Added JSDoc (#1782)
|
|
a3758728
|
2020-06-27T22:38:50
|
|
Added test to sort the language list (#2222)
|
|
e756be3f
|
2020-06-27T21:43:24
|
|
Tests are now faster (#2165)
|
|
3a127c7d
|
2020-06-24T20:30:38
|
|
Add support for the language Agda (#2430)
|
|
ae0327b3
|
2020-06-22T12:16:29
|
|
Added JS stack trace language (#2418)
This language highlights JavaScript stack traces generated by commonly used JS engines.
|
|
37273a6f
|
2020-06-21T11:34:19
|
|
Dockerfile: Fixed strings inside comments (#2428)
Strings inside comments broke comments. Comments are now greedy, so this can't happen anymore.
|
|
48fac3b2
|
2020-06-12T15:58:46
|
|
Added a test for identifier support across all languages (#2371)
|
|
de8ed16d
|
2020-06-12T12:53:22
|
|
GraphQL: Added missing keywords (#2407)
|
|
7f341fc1
|
2020-06-12T12:52:31
|
|
C#: Improved pattern matching (#2411)
|
|
2a2e79ed
|
2020-06-07T18:54:31
|
|
C#: Fixed adjacent string interpolations (#2402)
|
|
939a17c4
|
2020-06-07T18:52:25
|
|
Protobuf: Added support for RPC (#2414)
|
|
ddf3cc62
|
2020-06-07T18:49:55
|
|
Autohotkey: Improved comments and other improvements (#2412)
Original author: nnnik <nnnik@web.de>
|
|
1e3f542b
|
2020-06-04T22:15:55
|
|
Scheme: Adjusted lookbehind for literals (#2396)
|
|
9e64c62e
|
2020-05-29T12:28:05
|
|
GraphQL: Added support for multi-line strings and descriptions (#2406)
|
|
ed715158
|
2020-05-29T16:24:07
|
|
JS: Improved `get`/`set` and parameter detection (#2387)
|
|
b28f21b7
|
2020-05-29T16:17:03
|
|
JS: Added support for logical assignment operators (#2378)
|
|
ba5ac1da
|
2020-05-29T16:10:59
|
|
VB: Added missing keywords (#2376)
|
|
0255cb6a
|
2020-05-27T13:32:49
|
|
APL: Added ⍥ (#2409)
Introduced into Dyalog APL 18.0 which is just about to be released.
|
|
4fe03676
|
2020-05-25T07:30:51
|
|
AutoHotkey: Added missing definitions (#2400)
This adds a lot of missing keywords, builtins, constants, and other definitions.
|
|
e416341f
|
2020-05-22T17:37:53
|
|
Test: Always use `components.json` (#2370)
All test files now consistently import `components.json` instead of `components.js`. The JS file is generated and can be outdated. This can be annoying when you're adding a language.
|
|
9c7bc820
|
2020-05-19T02:30:59
|
|
Markup: Added tokens inside DOCTYPE (#2349)
|
|
81cf2344
|
2020-05-19T01:58:59
|
|
Julia: Improved strings, comments, and other patterns (#2363)
|
|
ab1e34ae
|
2020-05-19T01:53:44
|
|
Markup: Added alias for named entities (#2351)
|
|
fdbc4473
|
2020-05-19T01:52:38
|
|
CSS Extras: Optimized `class` and `id` patterns (#2359)
|
|
b4ed5ded
|
2020-05-19T01:47:03
|
|
Tests: Included console in VM context (#2353)
|
|
475a5903
|
2020-05-18T14:01:07
|
|
SAS: Improved comments in `proc groovy` and `proc lua` (#2392)
|
|
e3fe9040
|
2020-05-13T11:59:18
|
|
C++: Improved class name detection (#2348)
|
|
caec5e30
|
2020-05-13T11:26:38
|
|
Added support for XML doc in C#, F#, and VB.net (#2340)
|
|
1946918a
|
2020-05-13T11:25:39
|
|
Scheme: Improved lambda parameter (#2346)
|
|
194c5429
|
2020-05-11T14:49:10
|
|
Rust: Improvements (#2332)
This makes several improvements to Rust. This includes support for multiline strings, better closures, attributes, macros, and comments, an update for the keyword list, and more.
|
|
e523f5d0
|
2020-05-09T02:42:24
|
|
CSS Extras: Renamed `attr-{name,value}` tokens and added tokens for combinators and selector lists (#2373)
|
|
8a72830a
|
2020-05-07T22:44:16
|
|
Regex: Added aliases and minor improvements (#2325)
This adds a lot of aliases to the regex tokens, so themes can apply their styles. It also makes a few improvements. See the PR for more details.
|
|
6d663b6e
|
2020-05-08T04:17:54
|
|
Stylus: Fixed comments breaking declarations + minor improvements (#2372)
Comments broke URLs in all non-greedy declarations. Comments are now matched as part of these declarations.
This also adds support for comments inside selectors.
|
|
2c10ef8a
|
2020-05-07T19:58:29
|
|
Stylus: New tokens and other improvements. (#2368)
This adds `color`, `unit`, and `entity` tokens. The `number` and `operator` patterns were also improved.
|
|
d0c1c70d
|
2020-05-06T23:59:29
|
|
Added support for PureBasic (#2369)
A language based on Basic (BlitzBasic to be precise) with inline assembler also and direct API calls. Can compile on Windows, Linux, and macOS
|
|
0d65d6c9
|
2020-05-06T16:35:29
|
|
Stylus: Fixed comments breaking strings and URLs (#2361)
|