tests


Log

Author Commit Date CI Message
Michael Schmidt 05afbb10 2020-11-29T00:12:15 Added test for exponential backtracking (#2590) This adds a simple test to detect certain causes of exponential backtracking.
Michael Schmidt 8e76a978 2020-11-28T23:23:46 Shell-session: Fixed false positives because of links in command output (#2649)
Michael Schmidt 0bb4f096 2020-11-28T23:05:53 JavaStackTrace: Added support stack frame element class loaders and modules (#2658)
Mariano de Achaval 0803525b 2020-11-27T15:00:35 Added support for DataWeave language (#2659)
Michael Schmidt 5cf9cfbc 2020-11-25T23:53:33 Markdown: Added support for YAML front matter (#2634)
Michael Schmidt 8fa8dd24 2020-11-25T22:59:40 Core: Fixed bug with greedy matching (#2632)
Adam Kudrna deb238a6 2020-11-23T21:07:44 SCSS: Added support for Sass modules (#2643)
Michael Schmidt 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.
Michael Schmidt f0e2b70e 2020-11-20T17:09:54 Added support for Apex (#2622)
Osip Fatkullin a5107d5c 2020-11-15T20:28:34 Kotlin: Added support for backticks in function names (#2489)
Arend van Beelen jr 8831c706 2020-11-12T20:43:52 Added PromQL language (#2628)
Michael Schmidt 2d3a1267 2020-11-06T23:50:40 Tests: Fixed sorted language list test (#2623)
Michael Schmidt 7951ca24 2020-11-04T21:54:24 Scheme: Fixed function and function-like false positives (#2611)
Michael Schmidt 0889bc7c 2020-11-04T21:44:48 Java: Improved package and class name detection (#2599)
Michael Schmidt 0df60be1 2020-11-04T17:18:23 Tests: Stricter pattern for nice-token-names test (#2588)
Michael Schmidt 25bdb494 2020-11-04T11:51:00 TSX: Temporary fix for the collisions of JSX tags and TS generics (#2596)
Michael Schmidt 129faf5c 2020-11-04T11:48:51 C: Better class name and macro name detection (#2585)
Daniel Morell 00bf00e3 2020-10-26T14:49:26 Apache Configuration: Update directive-flag to match '=' (#2612)
Jeremie Knuesel 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
Tom Pavelec df922d90 2020-10-16T22:20:59 PHP: Added support for PHP 8.0 features (#2591)
Michael Schmidt b04cbafe 2020-10-13T14:26:34 CSS: Better HTML `style` attribute tokenization (#2569)
Michael Schmidt 73f81c89 2020-10-13T14:24:24 Java: Added Java 15 keywords (#2567)
Tom Pavelec 38808e64 2020-10-13T14:03:42 PHP: Added support for PHP 7.4 + other major improvements (#2566)
Ayesh Karunaratne 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).
Michael Schmidt 59853a52 2020-10-01T12:33:11 YAML: Improved key pattern (#2561)
Michael Schmidt cb75d9e2 2020-09-13T23:26:33 Added support for SML (#2537)
Michael Schmidt 3b4f14ca 2020-09-13T23:25:43 Rust: Fixed Unicode char literals (#2550)
Aayan 4d31e22a 2020-09-11T12:07:11 Added support for Birb (#2542)
Michael Schmidt f62ca787 2020-08-31T17:56:46 Regex: Changed how languages embed regexes (#2532)
Michael Schmidt e4f6ccac 2020-08-30T15:08:38 Scheme: Added support for R7RS syntax (#2525)
Sri Harsha Chilakapati ad748a00 2020-08-30T18:16:21 Added PureScript language definition (#2526)
Michael Schmidt e023044c 2020-08-28T18:38:14 Haskell: Improvements (#2535)
Michael Schmidt c51ababb 2020-08-27T23:51:16 JS Extras: Highlight import and export bindings (#2533)
Michael Schmidt 6c921801 2020-08-27T19:14:20 Shell session & bash: Highlight all commands after the start of any Heredoc string (#2509)
Michael Schmidt bafab634 2020-08-17T16:22:21 Tests: Added an option to accept the actual token stream (#2515)
Barilko Vitaliy 5c33f0bb 2020-08-17T15:39:02 Added support for BSL (1C:Enterprise) (#2520)
Dmitry Eroshenko 004eaa74 2020-08-14T00:00:21 Added support for MongoDB syntax (#2518)
Michael Schmidt 2da2beba 2020-08-12T13:10:38 Added support for Stan (#2490)
Daniel 'Eisbehr' Kern bf115f47 2020-08-11T15:33:48 Added support for TypoScript (#2505)
Artyom Sovetnikov 388ad996 2020-08-07T21:14:34 Add support for NaniScript (#2494)
Michael Schmidt 158caf52 2020-07-30T22:54:34 JSON: Greedy comments (#2479) Comments are now greedy allowing them to break strings, properties, and each other.
Proudust f0f8210c 2020-07-28T00:45:28 Batch: Fix escaped double quote (#2485)
Michael Schmidt 649e51e5 2020-07-27T13:50:41 Added support for Dhall (#2473)
Michael Schmidt ed1df1e1 2020-07-22T17:27:00 Added support for YANG (#2467)
Osip Fatkullin 3fcce6fe 2020-07-22T18:12:01 Added support for .gitignore (#2481)
Osip Fatkullin 0c30c582 2020-07-22T17:45:05 EditorConfig: Trim spaces before key and section title (#2482) The `key` and `section` tokens sometimes included leading spaces.
Michael Schmidt 2ff40fe0 2020-07-18T15:29:33 Rust: Improvements (#2464)
Michael Schmidt 2805ae35 2020-07-18T15:02:33 JSDoc: Improvements (#2466)
Michael Schmidt 398e2943 2020-07-18T14:58:39 Added support for Cypher (#2459)
Michael Schmidt 4f55052f 2020-07-18T14:53:05 JS: Improved regex detection (#2465)
Karl Horky bea7a585 2020-07-14T14:47:21 SQL: Added PostgreSQL `RETURNING` keyword (#2476)
Michael Schmidt 40285203 2020-07-13T13:24:32 Core: Fixed greedy matching bug (#2032)
Osip Fatkullin ed8fff91 2020-07-11T01:07:19 Added support for EditorConfig (#2471)
cedporter 278316ca 2020-07-06T15:01:10 SAS: Improved macro string functions (#2463)
edukisto 537a9e80 2020-07-05T15:22:39 CSP: Fixed directives (#2461)
cedporter a0a9f1ef 2020-07-02T17:46:04 SAS: Handle edge case of string macro functions (#2451)
Joe DF 7c66cfc4 2020-07-02T17:42:38 AutoHotkey: Added missing "format" built-in (#2450)
Michael Schmidt 8a72fa6f 2020-06-29T13:09:56 C/C++: Improved macros and expressions (#2440)
Michael Schmidt 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.
Michael Schmidt 8e9d161c 2020-06-28T02:00:03 C++: Added support for default comparison operator (#2426)
Michael Schmidt 964de5a1 2020-06-28T01:44:00 CSS: Improved url and added keywords (#2432)
Michael Schmidt 22eb5cad 2020-06-28T01:41:28 Added support for Smali (#2419)
Michael Schmidt a13ee8d9 2020-06-28T01:40:12 VB: Added `until` keyword (#2423)
Michael Schmidt 583e7eb5 2020-06-28T01:39:28 Tests: Always pretty-print token streams (#2421)
Michael Schmidt 4ff555be 2020-06-28T01:34:29 Added JSDoc (#1782)
Michael Schmidt a3758728 2020-06-27T22:38:50 Added test to sort the language list (#2222)
Michael Schmidt e756be3f 2020-06-27T21:43:24 Tests are now faster (#2165)
Xy Ren 3a127c7d 2020-06-24T20:30:38 Add support for the language Agda (#2430)
Starbeamrainbowlabs ae0327b3 2020-06-22T12:16:29 Added JS stack trace language (#2418) This language highlights JavaScript stack traces generated by commonly used JS engines.
edukisto 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.
Michael Schmidt 48fac3b2 2020-06-12T15:58:46 Added a test for identifier support across all languages (#2371)
Michael Schmidt de8ed16d 2020-06-12T12:53:22 GraphQL: Added missing keywords (#2407)
Michael Schmidt 7f341fc1 2020-06-12T12:52:31 C#: Improved pattern matching (#2411)
Michael Schmidt 2a2e79ed 2020-06-07T18:54:31 C#: Fixed adjacent string interpolations (#2402)
Michael Schmidt 939a17c4 2020-06-07T18:52:25 Protobuf: Added support for RPC (#2414)
Michael Schmidt ddf3cc62 2020-06-07T18:49:55 Autohotkey: Improved comments and other improvements (#2412) Original author: nnnik <nnnik@web.de>
Michael Schmidt 1e3f542b 2020-06-04T22:15:55 Scheme: Adjusted lookbehind for literals (#2396)
Alex Mabry 9e64c62e 2020-05-29T12:28:05 GraphQL: Added support for multi-line strings and descriptions (#2406)
Michael Schmidt ed715158 2020-05-29T16:24:07 JS: Improved `get`/`set` and parameter detection (#2387)
Michael Schmidt b28f21b7 2020-05-29T16:17:03 JS: Added support for logical assignment operators (#2378)
Michael Schmidt ba5ac1da 2020-05-29T16:10:59 VB: Added missing keywords (#2376)
Adám Brudzewsky 0255cb6a 2020-05-27T13:32:49 APL: Added ⍥ (#2409) Introduced into Dyalog APL 18.0 which is just about to be released.
Joe DF 4fe03676 2020-05-25T07:30:51 AutoHotkey: Added missing definitions (#2400) This adds a lot of missing keywords, builtins, constants, and other definitions.
Michael Schmidt 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.
Michael Schmidt 9c7bc820 2020-05-19T02:30:59 Markup: Added tokens inside DOCTYPE (#2349)
Michael Schmidt 81cf2344 2020-05-19T01:58:59 Julia: Improved strings, comments, and other patterns (#2363)
Michael Schmidt ab1e34ae 2020-05-19T01:53:44 Markup: Added alias for named entities (#2351)
Michael Schmidt fdbc4473 2020-05-19T01:52:38 CSS Extras: Optimized `class` and `id` patterns (#2359)
Michael Schmidt b4ed5ded 2020-05-19T01:47:03 Tests: Included console in VM context (#2353)
cedporter 475a5903 2020-05-18T14:01:07 SAS: Improved comments in `proc groovy` and `proc lua` (#2392)
Michael Schmidt e3fe9040 2020-05-13T11:59:18 C++: Improved class name detection (#2348)
Michael Schmidt caec5e30 2020-05-13T11:26:38 Added support for XML doc in C#, F#, and VB.net (#2340)
Michael Schmidt 1946918a 2020-05-13T11:25:39 Scheme: Improved lambda parameter (#2346)
Michael Schmidt 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)
Michael Schmidt 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.
HeX0R101 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)