Connor Skees
|
70cc7afdaf
|
use inspect for builtin function error messages
|
2020-07-06 22:25:27 -04:00 |
|
Connor Skees
|
d7fd88dea4
|
properly evaluated builtin fn if when one arg contains an error
|
2020-07-03 15:06:26 -04:00 |
|
Connor Skees
|
596def3906
|
refactor value evaluation
|
2020-07-03 12:38:20 -04:00 |
|
Connor Skees
|
94d94abf7a
|
default arg fns are infallible
|
2020-07-02 16:37:24 -04:00 |
|
ConnorSkees
|
082d58853b
|
implement special-cased functions min and max
|
2020-06-22 10:11:30 -04:00 |
|
ConnorSkees
|
c1b5ff5730
|
prettify imports
|
2020-06-16 20:00:11 -04:00 |
|
ConnorSkees
|
71dd7df951
|
reimplement parsing
|
2020-06-16 19:38:30 -04:00 |
|
ConnorSkees
|
d88ac86bd1
|
consolidate builtin imports
|
2020-05-18 17:50:52 -04:00 |
|
ConnorSkees
|
1fb6822259
|
rename register to declare
|
2020-05-16 18:01:06 -04:00 |
|
ConnorSkees
|
0aed492123
|
move builtin fns to outer scope to reduce nesting
|
2020-04-30 19:36:34 -04:00 |
|
ConnorSkees
|
fda95683ce
|
simplify declaration of math fns
|
2020-04-30 15:48:54 -04:00 |
|
ConnorSkees
|
2eef3e9f6a
|
store &'static str rather than String for builtin fn names
|
2020-04-30 15:00:57 -04:00 |
|
ConnorSkees
|
680790c49a
|
replace max_args! macro with builtin method
|
2020-04-22 06:17:52 -04:00 |
|
ConnorSkees
|
3805eaab2b
|
clippy
|
2020-04-21 18:22:26 -04:00 |
|
ConnorSkees
|
62f9f7da4f
|
integrate error handling with codemap
|
2020-04-12 19:37:12 -04:00 |
|
ConnorSkees
|
50778bd743
|
random with limit is 1<=n<=limit
|
2020-04-05 18:30:17 -04:00 |
|
ConnorSkees
|
c8a59ea501
|
implement builtin function random
|
2020-04-05 13:42:53 -04:00 |
|
ConnorSkees
|
b7be1705a2
|
args and default values are lazily evaluated
|
2020-04-04 18:17:04 -04:00 |
|
ConnorSkees
|
81c85a6f86
|
handle builtin functions in get-function
|
2020-04-03 23:49:44 -04:00 |
|
ConnorSkees
|
8e3e23c6cd
|
builtin functions take args by value
|
2020-04-02 13:45:14 -04:00 |
|
ConnorSkees
|
dcb712e3d4
|
Refactor unit conversions into separate file
|
2020-03-19 16:24:31 -04:00 |
|
ConnorSkees
|
51585235c3
|
Remove decl! macro
This lets rustfmt work and gives better autocomplete and error messages
inside builtin functions.
|
2020-03-16 10:35:38 -04:00 |
|
ConnorSkees
|
276134eb93
|
prefer hashmap over btreemap where ordering is unimportant
|
2020-03-03 19:51:02 -05:00 |
|
ConnorSkees
|
53861ccb0d
|
clippy
|
2020-02-22 17:57:13 -05:00 |
|
ConnorSkees
|
23b90aa97e
|
Use remove() rather than .get() to avoid a clone
|
2020-02-16 22:04:54 -05:00 |
|
ConnorSkees
|
908104ec1c
|
Properly implement percentage() error messages
|
2020-02-16 18:26:57 -05:00 |
|
ConnorSkees
|
26b0f2c998
|
Add max_args! to most functions
|
2020-02-16 18:18:57 -05:00 |
|
ConnorSkees
|
9626cbc55f
|
Improved error messages for math functions
|
2020-02-16 18:10:56 -05:00 |
|
ConnorSkees
|
d300cd046a
|
Use SassError over Option inside builtins
|
2020-02-16 10:14:17 -05:00 |
|
ConnorSkees
|
35ed667f16
|
Implement builtin function comparable()
|
2020-02-15 08:16:17 -05:00 |
|
ConnorSkees
|
f7351e1458
|
Implement builtin function abs()
|
2020-02-14 12:30:48 -05:00 |
|
ConnorSkees
|
0ec2c46744
|
rustfmt
|
2020-02-09 18:28:24 -05:00 |
|
ConnorSkees
|
40e1e554c7
|
Implement builtin functions ceil() and floor()
|
2020-02-09 16:14:24 -05:00 |
|
ConnorSkees
|
116bb43bd5
|
Implement builtin function round()
|
2020-02-09 16:10:32 -05:00 |
|
ConnorSkees
|
405a1c2d42
|
Implement mul and div for Value and builtin function percentage()
|
2020-02-09 16:05:07 -05:00 |
|
ConnorSkees
|
c7f34f573f
|
newlines in builtin files
|
2020-02-02 21:09:29 -05:00 |
|
ConnorSkees
|
1c4ad8a7fa
|
Builtin function boilerplate
|
2020-02-02 18:05:36 -05:00 |
|