Commit Graph

461 Commits

Author SHA1 Message Date
Rui 991777e3a8
Correct outdated comment (#1265) 2023-05-21 06:55:17 +02:00
Laurenz 551ea99d05 Show default values in documentation
Fixes #169
Fixes #1102
2023-05-17 14:41:46 +02:00
Kevin Stevens 156aef10c4
Switch from unicode_xid to unicode_ident (#1208) 2023-05-15 09:35:46 +02:00
Laurenz 998a3c44fd Remove tracing from cheap functions
Turns out that having tracing enabled on some functions that get called a lot distorts the traces so that their parent stack frames look much more expensive than they actually are.
2023-05-11 11:35:45 +02:00
Laurenz d9ba84085e More efficient incremental parsing
If validation fails, we now do exponential fallback to a larger segment instead of giving up entirely.
2023-05-04 11:52:01 +02:00
Marmare314 db6a710638
Parameter pattern bug (#1062) 2023-05-03 12:42:26 +02:00
Marmare314 edc0632d8c
Add shorthand for root operation (#929) 2023-05-03 11:16:38 +02:00
Laurenz 3680c854a2 Touch up docs 2023-04-26 15:37:21 +02:00
Marmare314 59957746e9
Pattern as parameter (#854) 2023-04-26 11:32:11 +02:00
Marmare314 d5d98b67a8
Destructuring assign (#703) 2023-04-25 11:22:12 +02:00
Alex Saveau b75cad2d3b
Parallelize tests (#900) 2023-04-23 14:35:18 +02:00
Sébastien d'Herbais de Thun 561ff979d5
Add instrumentation (Part 1) (#761) 2023-04-23 14:33:56 +02:00
Marmare314 4524539c2b
forbid underscore as identifier closes #513 (#837) 2023-04-20 11:05:11 +02:00
Laurenz f08ae95b9d Fix argument sinks
Fixes #886.
2023-04-19 17:51:33 +02:00
Leedehai dc3017955a
Give more specific error messages (#881) 2023-04-19 13:26:55 +02:00
Marek Barvíř 56673bcdf5
Clippy fixes (#856) 2023-04-18 11:19:09 +02:00
Greg Shuflin 2135027219
Improve error message in lexer (#242)
In the error message for an invalid character, print which character
triggered the error.
2023-04-18 11:14:18 +02:00
Marmare314 428c55b6ee
refactor SyntaxKind::Pattern (#831) 2023-04-16 14:34:57 +02:00
Marmare314 0105eb7382
Fix function sinks (#638) 2023-04-13 16:07:58 +02:00
Laurenz 89cf4054d6 Reduce amount of hashing 2023-04-13 14:23:46 +02:00
Marmare314 72d8785abe
fix parenthesized binding (#707) 2023-04-11 18:44:17 +02:00
Laurenz 9720424884 Fix duplicate error message for destructuring 2023-04-11 16:50:26 +02:00
Marmare314 0f8219b392
Unpacking syntax (#532)
Closes #341
2023-04-06 15:26:09 +02:00
Laurenz 5637a1693c Allow labels and reference with ',' and '.' 2023-04-04 18:19:17 +02:00
Marek Barvíř 1a36ce7fa8
Disable clippy for specific lines (#503) 2023-04-04 17:10:06 +02:00
Marek Barvíř cfc671d824
clippy::match_like_matches_macro (#502) 2023-04-04 17:09:53 +02:00
Laurenz 570c528b3e Integers with different bases 2023-04-04 15:46:09 +02:00
Marek Barvíř 4161bad54f
FIX lint clippy::len_without_is_empty (#451) 2023-03-31 17:13:31 +02:00
frozolotl ed36ef3312
Add support for more characters in links (#379) 2023-03-30 21:26:43 +02:00
frozolotl e13fc04c3e
Fix parsing of language in single-tick raw literals (#401) 2023-03-28 17:04:27 +02:00
Marek Barvíř 213f31c5d7
Fix basic lints (cargo clippy) (#383) 2023-03-28 09:38:01 +02:00
Laurenz c5fb34123c Fix parsing of unbalanced delimiters in math 2023-03-27 16:09:26 +02:00
Laurenz 51d972ec24 Fix matrix delimiters
Fixes #200.
2023-03-27 13:14:21 +02:00
Laurenz 2c7f2c005a Parse decimals as a unit
Fixes #257.
2023-03-27 12:50:00 +02:00
Laurenz a5c88c19b3 Fix enum parsing and allow zero in numberings
Fixes #353.
2023-03-27 12:12:57 +02:00
Kian-Meng Ang 25acefeb5b
Fix typos (#115)
Found via `codespell -S target -L
crate,ist,thi,alle,dedented,ue,tung,nd,ende,overriden,dependant`
2023-03-22 09:02:51 +01:00
Laurenz 53b57d8294 Fix show rule colon error message 2023-03-21 13:08:18 +01:00
Laurenz c913271b29 Fix crash for jump to outdated span 2023-03-21 12:55:39 +01:00
Laurenz 69136b74dc More math shorthands 2023-03-21 10:29:59 +01:00
Laurenz ab43bd802e Renaming and refactoring 2023-03-19 22:39:19 +01:00
Laurenz a69b587455 Rename formula to equation 2023-03-18 19:27:31 +01:00
Laurenz 5d475ae32e Attach parameter list span to function 2023-03-18 17:50:57 +01:00
Laurenz 312197b276 Counters 2023-03-17 11:45:57 +01:00
Laurenz 2a86e4db0b Reference supplements 2023-03-14 22:34:43 +01:00
Laurenz e50189cfa7 Allow keywords as fields 2023-03-14 22:31:05 +01:00
Laurenz ca6edf5283 Jump to source and preview 2023-03-11 23:29:32 +01:00
Laurenz 529d3e10c6 Section references 2023-03-11 18:29:48 +01:00
Laurenz 8e5f446544 Autocompletion for raw language tags 2023-03-11 11:46:12 +01:00
Laurenz e5eab73374 Streamline field names 2023-03-08 11:02:27 +01:00
Laurenz ab841188e3 Bump `ecow` 2023-03-01 11:27:10 +01:00