73 Commits

Author SHA1 Message Date
HarmoGlace
1e934def56
Add gcd and lcm calculation methods (#789) 2023-04-19 16:18:31 +02:00
Laurenz
bce83d330f Remove intermediate strings in error message 2023-04-18 14:31:32 +02:00
Marek Barvíř
56673bcdf5
Clippy fixes (#856) 2023-04-18 11:19:09 +02:00
Marek Barvíř
ee32e7ad1c
Clippy fixes (#581) 2023-04-16 11:10:35 +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
Alexander Seiler
e4fda4176e
Correct some typos (#746) 2023-04-12 15:13:36 +02:00
Eric Biedert
c7db709da5
Allow treating ratios as floats (#681) 2023-04-11 14:13:01 +02:00
Marmare314
0f8219b392
Unpacking syntax (#532)
Closes #341
2023-04-06 15:26:09 +02:00
Laurenz
c2d88989a7 Format code 2023-04-04 14:36:25 +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
HarmoGlace
f94bc9a13f
Fix zero power (#511) 2023-04-01 19:45:44 +02:00
Laurenz
10a3fbd174 Documentation for regex from raw element
Fixes #266.
2023-04-01 19:34:49 +02:00
Marek Barvíř
5e5b1bba51
Needless clone, borrows, casts and lifetimes (#504) 2023-04-01 15:53:13 +02:00
P-Andersson
387bcc3879
add support for loading data from yaml files (#447) 2023-04-01 14:33:42 +02:00
Sébastien d'Herbais de Thun
9e69a7b161
Allows negative pow (#486) 2023-04-01 14:24:43 +02:00
Marek Barvíř
5aa2ba1490
FIX "data.typ" test (#412) 2023-03-30 11:52:27 +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
724e9b140c Locatability and synthesis improvements 2023-03-13 21:41:33 +01:00
Laurenz
cb3c263c4a More accurate logarithm for base 2 and 10 2023-03-13 20:10:29 +01:00
Laurenz
a9fdff244a Expose content representation more 2023-03-10 21:19:50 +01:00
Laurenz
62f35602a8 New #[func] macro 2023-03-10 12:55:21 +01:00
Laurenz
25b5bd1175 Fully untyped model 2023-03-07 15:17:13 +01:00
Laurenz
6ab7760822 Split up model module 2023-03-01 16:33:28 +01:00
Laurenz
aa8a5bf42f Documentation fixes 2023-02-26 23:07:50 +01:00
Laurenz
affb353453 Merge main back 2023-02-23 14:38:45 +01:00
Laurenz
457ce95436 More EcoVec usage
Frame unfortunately can't use it because splice is missing.
2023-02-23 14:36:40 +01:00
Laurenz
a1d47695a2 Switch to ecow 2023-02-23 12:20:47 +01:00
Laurenz
6e65ebf236 Panic function 2023-02-19 21:08:01 +01:00
Laurenz
028632a3a1 Fix error handling after hashtag 2023-02-17 16:32:48 +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
05c8c6045c Configurable numbering for nested enums 2023-02-13 16:54:05 +01:00
Laurenz
10b17a04bc Fix docs 2023-02-12 22:39:20 +01:00
Laurenz
ea8edfa821 Make Rust happier about the inline documentation 2023-02-06 11:52:09 +01:00
Laurenz
60ef41cef4 Fix calc doc comments 2023-01-31 00:20:53 +01:00
Laurenz
0ef1b02ee0 Add calc constants 2023-01-30 21:29:03 +01:00
Laurenz
53844b5a87 Simplify calc functions 2023-01-30 21:19:01 +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
1d86f41831 Remove more blocks 2023-01-29 23:41:54 +01:00
Martin Haug
c3b3bbb9f2 Update remaining examples 2023-01-29 23:26:31 +01:00
Martin Haug
8fbfa594e0 Update docs so that the reference builds again 2023-01-29 12:43:44 +01:00
Laurenz
23238d4d44 Assertions with custom message 2023-01-27 19:53:04 +01:00
Laurenz
9d962c5c40 More track_caller annotations 2023-01-27 12:16:54 +01:00
Laurenz
43ef60c09c Tracing-based expression tooltips 2023-01-27 12:05:12 +01:00