Sébastien d'Herbais de Thun
a4e357fb37
Gradient Part 2 - Linear gradients ( #2279 )
2023-10-03 19:31:02 +02:00
T0mstone
cf9bde3245
Add capability to get current compiler version ( #2016 )
2023-10-02 20:28:19 +02:00
bluebear94
553da642bd
Handle compiler panics when handling infinite lengths ( #2215 )
2023-09-28 11:15:09 +02:00
Arnaud Golfouse
962071619d
Avoid plugin panics ( #2232 )
2023-09-26 16:21:21 +02:00
Sébastien d'Herbais de Thun
163c2e1aa2
Gradient Part 1 - Color rework ( #2171 )
2023-09-19 15:48:33 +02:00
Laurenz
25613cfaf3
Fix missing capturing of assignments
...
The previous commit was a bit overambitious. The left-hand side of assignments should actually be fully captured: Argument lists in `at` calls can contain captured variables. And if the assigned variable itself is captured, then the function is faulty anyway. (And we ensure the correct error message by capturing it.)
Fixes #2169
2023-09-16 20:41:44 +02:00
Laurenz
94380f4457
Remove 64-bit-specific test
...
Fixes #2139
2023-09-15 12:34:35 +02:00
Laurenz
2dc000daeb
Type compatibility
...
For now, types can be used like strings in operations to prevent breakage of many packages. Hopefully, we can get rid of this in the future.
2023-09-11 17:38:03 +02:00
Laurenz
305524d005
Update tests for type system changes
2023-09-11 14:42:43 +02:00
Laurenz
2f672b4e2e
Allow packages to specify their minimum compiler version
2023-09-04 16:29:57 +02:00
Laurenz
a6f347fbb7
Add test for ends-with fix
2023-08-30 17:19:25 +02:00
Pg Biel
19b91d59d1
Allow renaming imports with as
( #1923 )
2023-08-30 13:36:02 +02:00
Sébastien d'Herbais de Thun
8a0dd88f10
Make zip variadic ( #2041 )
2023-08-30 13:31:37 +02:00
Beiri22
f616302496
Duration type, simple date-duration-calculations and comparisons ( #1843 )
2023-08-30 12:28:53 +02:00
Kevin K
45bd58fbaa
Implement rev()
method on string ( #2013 )
2023-08-26 17:35:52 +02:00
damaxwell
756bdb623c
Support selectors with and/or followed by before/after ( #1883 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-08-22 12:23:55 +02:00
Simon Rask
046029b1e2
Add hint for missing method error for dictionary where a field with a function is present ( #1922 )
2023-08-21 16:26:05 +02:00
bluebear94
877df549aa
Check for control flow event before let binding ( #1912 )
...
Fixes #1906 (trying to destructure the result of `continue`).
2023-08-21 16:21:37 +02:00
Gokul Soumya
5c6434d4ce
Add intersperse() method for arrays ( #1897 )
2023-08-21 16:01:27 +02:00
Laurenz
d52493938e
Make bytes joinable
2023-08-21 15:33:03 +02:00
astrale-sharp
99ddbafc09
Wasm plugin system ( #1555 )
2023-08-21 15:17:16 +02:00
sitandr
1e21fac2ce
Fix crashing on empty regexps ( #1870 )
2023-08-08 14:42:04 +02:00
Laurenz
b8b0137504
Bytes type
...
- Moves `Bytes` from `util` to `eval` module
- Accepts bytes in `str` function for bytes -> str conversion
- Adds `bytes` function for str | array -> bytes conversion
- Adds `array` function for bytes -> array conversion
- Adds `len`, `at`, and `slice` methods for bytes
- Adds `encoding` parameter to `read` function
2023-08-04 15:46:46 +02:00
bluebear94
66df130ca4
Add start parameter to array enumerate ( #1818 )
2023-07-29 23:11:21 +02:00
Pg Biel
5bd97e218b
Update field mutation error message ( #1742 )
2023-07-26 23:03:33 +02:00
Sébastien d'Herbais de Thun
0c94d2b34e
Adding dedup
to array
( #1738 )
2023-07-18 15:23:56 +02:00
Pg Biel
9b1a2b41f0
Add fields and methods to several primitives ( #790 )
2023-07-11 16:11:18 +02:00
Laurenz
db09a5a712
Better error messages for #
expressions
2023-07-06 16:01:23 +02:00
Laurenz
adcc6e5506
Better error messages for keywords in place of identifiers
...
Fixes #1123
2023-07-06 15:16:41 +02:00
Mathias Fischler
5bdad06d92
Parser hints infrastructure ( #1570 )
2023-07-05 16:25:26 +02:00
Laurenz
65f11dc364
Minor improvements
2023-06-30 09:59:58 +02:00
Laurenz
04bffc4f12
Reintroduce --root
2023-06-28 10:36:53 +02:00
Laurenz
7b92bd7c34
Basic package management
2023-06-27 18:40:17 +02:00
Mathias Fischler
2e03fb34cb
Add infrastructure to enrich errors with hints ( #1486 )
2023-06-24 14:18:21 +02:00
Mathias Fischler
93e6638bfe
Resolve #1141 : Add hint for missing numbering, improve hint format consistency ( #1456 )
2023-06-12 12:46:08 +02:00
Laurenz
c65aaa9137
Undo regex type rename
...
Unnecessary breaking change for now
2023-06-09 15:52:31 +02:00
Laurenz
25e94cef03
Fix doc links
2023-05-30 14:50:43 +02:00
MALO
644bbf9914
Add fields
method to content ( #1340 )
2023-05-30 10:13:27 +02:00
Pg Biel
e4557f6639
Fix .at(default: ...)
for strings and content ( #1339 )
2023-05-29 20:15:32 +02:00
Laurenz
017027bf39
Rework delimiter errors
...
Fixes #572
2023-05-24 16:58:51 +02:00
Laurenz
8aa0ae197d
Fix field access on styled element
...
Fixes #1197
2023-05-22 13:49:09 +02:00
Laurenz
3d83960322
Fix removal order for dictionary
...
Switches to `shift_remove` for now. In the future, we should look into a more efficient implementation. Fixes #1258 .
2023-05-22 13:10:48 +02:00
Laurenz
08870d4a4c
Clearer error messages for failed comparisons
...
Fixes #1231
2023-05-22 13:06:33 +02:00
Leedehai
8d4f9304c0
Update string doc: index can be negative ( #1198 )
2023-05-19 14:41:58 +02:00
Laurenz
551ea99d05
Show default values in documentation
...
Fixes #169
Fixes #1102
2023-05-17 14:41:46 +02:00
sitandr
4b17c3f5c6
Show rules for symbols ( fixes #1130 ) ( #1175 )
2023-05-12 12:26:26 +02:00
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
dvdvgt
be3c4d7876
[Feature] Allow function as argument for string.replace ( #944 )
2023-05-03 11:41:50 +02:00
Marmare314
8fa1af8ac8
check index on placeholder ( #1005 )
2023-04-28 18:49:21 +02:00