432 Commits

Author SHA1 Message Date
Pg Biel
f88ef45ee6
Function scopes (#1032) 2023-05-03 14:20:53 +02:00
Michael Lohr
ffad8516af
Implement default values for at() (#995) 2023-05-03 12:34:35 +02:00
Laurenz
519e8a7b4c Refactor string replacement 2023-05-03 11:44:08 +02:00
dvdvgt
be3c4d7876
[Feature] Allow function as argument for string.replace (#944) 2023-05-03 11:41:50 +02:00
Marmare314
edc0632d8c
Add shorthand for root operation (#929) 2023-05-03 11:16:38 +02:00
Marmare314
8fa1af8ac8
check index on placeholder (#1005) 2023-04-28 18:49:21 +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
HarmoGlace
7cb63d1aae
Fix overflows with operators (#904) 2023-04-26 11:30:16 +02:00
Leedehai
62361b4127
Support indices preceding the base symbol, revamping #699 (#825)
Breaking change: abbreviate attach() attachment params, top -> t, bottom -> b
2023-04-25 11:24:07 +02:00
Laurenz Stampfl
f38989358e
Add a zip method to arrays (#947) 2023-04-25 11:22:20 +02:00
Marmare314
d5d98b67a8
Destructuring assign (#703) 2023-04-25 11:22:12 +02:00
SekoiaTree
efad1e71fa
Add sum and product to arrays (#966) 2023-04-25 11:18:27 +02:00
Marmare314
12129f0170
hint for unknown variable containing dash (#924) 2023-04-24 19:08:07 +02:00
Laurenz
3cc0f1ef0d Disable stacker on WASM 2023-04-24 15:20:42 +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
Daniel Csillag
d0afba959d
Change SipHash2-4 -> SipHash1-3 (#780)
This seems to significantly improves performance. Inspired by https://github.com/rust-lang/rust/pull/107925
2023-04-19 13:16:03 +02:00
Laurenz
d10b53df0b Clippy 2023-04-18 19:16:13 +02:00
Marek Barvíř
56673bcdf5
Clippy fixes (#856) 2023-04-18 11:19:09 +02:00
Laurenz
9bdc4a7de0 Write PDF outline 2023-04-17 13:26:49 +02:00
Marmare314
428c55b6ee
refactor SyntaxKind::Pattern (#831) 2023-04-16 14:34:57 +02:00
Marek Barvíř
ee32e7ad1c
Clippy fixes (#581) 2023-04-16 11:10:35 +02:00
Marmare314
0105eb7382
Fix function sinks (#638) 2023-04-13 16:07:58 +02:00
Birk Tjelmeland
d1cd814ef8
Add support for more complex strokes (#505) 2023-04-13 16:05:56 +02:00
Laurenz
9025ecb2ee Better error spans in calc 2023-04-13 15:13:31 +02:00
HarmoGlace
e11bd2a193
Add factorial, permutation and binomial to calculation functions (#639) 2023-04-13 14:38:51 +02:00
Sébastien d'Herbais de Thun
1198e0cd38
Selector rework (#640) 2023-04-12 12:47:51 +02:00
Laurenz
12be8fe070 Let dictionaries respect insertion order 2023-04-11 21:59:02 +02:00
Laurenz
db24996161 Add support for more ratio multiplications 2023-04-11 21:40:39 +02:00
Laurenz
42be51609b Remove support for number / ratio
If `1 * 40%` and `1 / 40%` both work, then I would expect `1cm * 40%` and `1cm / 40%` to work, too.
So the result of both multiplication and division is always the left type. Same with `100% * 40%`. But `100% / 40%` does not return a ratio, it returns a float. This breaks the consistency. For this reason, I am removing support for just the new divisions for now, but we can revisit this.
2023-04-11 21:39:46 +02:00
Laurenz
9720424884 Fix duplicate error message for destructuring 2023-04-11 16:50:26 +02:00
Laurenz
58e4bdb1b9 Remove enumeration support from map 2023-04-11 16:41:04 +02:00
Eric Biedert
c7db709da5
Allow treating ratios as floats (#681) 2023-04-11 14:13:01 +02:00
Daniel Csillag
a8087a9dbb
Array sorting by key (#584) 2023-04-11 12:48:17 +02:00
Marmare314
0f8219b392
Unpacking syntax (#532)
Closes #341
2023-04-06 15:26:09 +02:00
astrale-sharp
085282c138
Appends a hint if length is expected but hint provided. (#580) 2023-04-05 16:47:12 +02:00
Sébastien d'Herbais de Thun
70a909b8ba
Fixed page numbering (#594) 2023-04-05 15:04:31 +02:00
Laurenz
715f9fb0a5 Locatable selectors 2023-04-04 23:43:34 +02:00
Marek Barvíř
1a36ce7fa8
Disable clippy for specific lines (#503) 2023-04-04 17:10:06 +02:00
Marek Barvíř
4161bad54f
FIX lint clippy::len_without_is_empty (#451) 2023-03-31 17:13:31 +02:00
Laurenz
e84df1a036 Fix tests on Windows
Fixes #386.
2023-03-28 14:30:21 +02:00
Marek Barvíř
213f31c5d7
Fix basic lints (cargo clippy) (#383) 2023-03-28 09:38:01 +02:00
Laurenz
a5c88c19b3 Fix enum parsing and allow zero in numberings
Fixes #353.
2023-03-27 12:12:57 +02:00
Alexander Ekdahl
766d1be72b
Newton's notation for derivatives (#281) 2023-03-25 13:32:25 +01: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
30d6c070c1 More efficient function representation 2023-03-19 23:49:35 +01:00
Laurenz
ab43bd802e Renaming and refactoring 2023-03-19 22:39:19 +01:00