16 Commits

Author SHA1 Message Date
ConnorSkees
f9fc0ed8cb differentiate named and positional args 2020-04-02 12:28:28 -04:00
ConnorSkees
7a5b5c7369 Workaround negative numbers in macro 2020-03-16 16:44:52 -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
844b506872 Value operations can fail 2020-02-17 10:27:04 -05:00
ConnorSkees
af443f8f57 Prefer .remove() over .get() to avoid clone 2020-02-17 09:08:28 -05:00
ConnorSkees
5ee5f59b2c Error messages for color::other functions 2020-02-16 22:30:29 -05:00
ConnorSkees
23b90aa97e Use remove() rather than .get() to avoid a clone 2020-02-16 22:04:54 -05:00
ConnorSkees
24dc99affe Include argument name in bounds error 2020-02-16 15:17:01 -05:00
ConnorSkees
5f59c71752 Bounds checking macro for builtin functions 2020-02-16 15:14:14 -05:00
ConnorSkees
2b3e2ce34c rustfmt 2020-02-16 15:03:28 -05:00
ConnorSkees
e886f5476b Properly conjugate 'arguments' when more than 1 is allowed 2020-02-16 12:39:48 -05:00
ConnorSkees
46f2d4c47e Proper error messages for too many arguments 2020-02-16 12:31:09 -05:00
ConnorSkees
089edee8af Proper errors for missing arguments 2020-02-16 12:17:34 -05:00
ConnorSkees
d14ac11396 Implement weight for invert() 2020-02-09 13:44:27 -05:00
ConnorSkees
76b2685894 Lex and parse named colors 2020-02-07 00:10:43 -05:00
ConnorSkees
f82f1f3eee Add feature-exists() builtin function 2020-02-03 07:22:20 -05:00