T0mstone
cf9bde3245
Add capability to get current compiler version ( #2016 )
2023-10-02 20:28:19 +02:00
Sébastien d'Herbais de Thun
163c2e1aa2
Gradient Part 1 - Color rework ( #2171 )
2023-09-19 15:48:33 +02:00
Laurenz
f9feea3f29
Bump dependencies
2023-09-13 14:44:45 +02:00
Laurenz
305524d005
Update tests for type system changes
2023-09-11 14:42:43 +02:00
Laurenz
921b40cf9c
Forward third-party errors
...
Better to know something even if it isn't always formatted in the prettiest way
2023-09-11 12:04:37 +02:00
Laurenz
5b36b46230
Fix data loading display names
2023-08-30 17:15:49 +02:00
Beiri22
22b5959608
separate decode from string/bytes for all data functions; and encode for json, toml, yaml via serde ( #1935 )
2023-08-25 14:31:03 +02:00
Matt Fellenz
823fc5e5c4
Fix incomplete line endings ( #1866 )
2023-08-06 00:15:29 +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
Laurenz
803ae9309f
Support scope
argument for eval
2023-07-18 21:53:42 +02:00
Lynn
9a9da80665
Color mixing function ( #1332 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-07-05 11:26:50 +02:00
Laurenz
04bffc4f12
Reintroduce --root
2023-06-28 10:36:53 +02:00
Laurenz
3bedf8d0d1
Translate TOML datetime properly
2023-06-09 15:45:16 +02:00
Jett Chen
c87f802cf6
add calc.exp, calc.ln ( #1299 )
...
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-07 14:44:07 +02:00
Erik Bünnig
b805c5f100
Unicode code point conversion ( #1068 ) ( #1132 )
2023-05-30 18:11:30 +02:00
Lynn
7e07b61046
Add a base parameter to str() ( #1362 )
2023-05-30 18:05:15 +02:00
Laurenz Stampfl
752817ae74
Add support for date & time handling ( #435 )
2023-05-23 10:41:20 +02:00
Laurenz
08870d4a4c
Clearer error messages for failed comparisons
...
Fixes #1231
2023-05-22 13:06:33 +02:00
Leedehai
84b9d9c990
Print the string that is not castable to number ( #1207 )
2023-05-19 14:54:44 +02:00
Pg Biel
f88ef45ee6
Function scopes ( #1032 )
2023-05-03 14:20:53 +02:00
Laurenz
3680c854a2
Touch up docs
2023-04-26 15:37:21 +02:00
HarmoGlace
6134e3f4ee
Add toml support ( #807 )
2023-04-26 11:31:32 +02:00
HarmoGlace
42b93b7b53
Add quo
, trunc
and fract
calculation methods and rename mod
to rem
( #890 )
2023-04-20 16:09:41 +02:00
HarmoGlace
1e934def56
Add gcd
and lcm
calculation methods ( #789 )
2023-04-19 16:18:31 +02:00
HarmoGlace
29b36d4876
Fix pow
overflow ( #784 )
2023-04-13 21:08:54 +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
Eric Biedert
c7db709da5
Allow treating ratios as floats ( #681 )
2023-04-11 14:13:01 +02:00
Laurenz
e77abf842d
Make error messages a bit more consistent
2023-04-04 14:33:43 +02:00
HarmoGlace
4aa5e0a4a3
Make behavior of calculation functions consistent ( #515 )
2023-04-04 14:33:26 +02:00
Laurenz
e1ecb8cabe
Simplify pow
function
2023-04-01 23:31:23 +02:00
P-Andersson
387bcc3879
add support for loading data from yaml files ( #447 )
2023-04-01 14:33:42 +02:00
Naim A
2ed4212c76
bail! when #symbol is called without parameters ( #440 )
2023-03-29 23:07:08 +02:00
Laurenz
ab43bd802e
Renaming and refactoring
2023-03-19 22:39:19 +01:00
Laurenz
89f44f220d
Bibliography and citations
2023-03-14 22:53:54 +01:00
Laurenz
62f35602a8
New #[func] macro
2023-03-10 12:55:21 +01:00
Laurenz
1b2b53ecb9
Require font to be a named argument
2023-03-08 10:44:24 +01:00
Laurenz
7597b99789
New default style
2023-02-25 20:04:30 +01:00
Laurenz
6e65ebf236
Panic function
2023-02-19 21:08:01 +01:00
Laurenz
67b4540397
Dissolve utility category
2023-02-16 14:43:38 +01:00
Laurenz
17e9805b34
Let eval
take code instead of markup
2023-02-13 17:45:08 +01:00
Laurenz
3ffa7393f0
Make all nodes block-level
2023-02-12 19:57:28 +01:00
Laurenz
ec05ed7e06
Move assets
2023-01-31 15:05:42 +01:00
Laurenz
0ef1b02ee0
Add calc constants
2023-01-30 21:29:03 +01:00
Martin Haug
0287b98ef3
Add calc module
2023-01-30 21:04:34 +01:00
Laurenz
1ea0a93325
User-defined symbols
2023-01-30 19:45:10 +01:00
Laurenz
a8fd64f928
Hashtags everywhere!
2023-01-27 11:54:30 +01:00
Laurenz
f70cea508c
Remove index syntax in favor of accessor methods
2022-12-30 16:45:41 +01:00
Martin Haug
bc535f7b71
read
function
2022-12-29 11:49:01 +01:00
Laurenz
4c92ab4ace
Rename the create
category to construct
2022-12-21 23:51:15 +01:00