1222 Commits

Author SHA1 Message Date
ConnorSkees
760c95792c refactor char utils to separate file 2020-04-20 14:30:56 -04:00
ConnorSkees
3fd9692ce5 move utils to directory 2020-04-20 14:27:35 -04:00
ConnorSkees
aea2b65a8d remove string parsing from readme (finally!) 2020-04-20 13:59:53 -04:00
ConnorSkees
a6b61082fe interpolation of strings in idents is literal 2020-04-20 12:12:39 -04:00
ConnorSkees
29886d6845 newlines are no longer replaced with spaces in quoted strings 2020-04-20 11:48:17 -04:00
ConnorSkees
8f27525536 interpolated strings are literal 2020-04-20 11:34:49 -04:00
ConnorSkees
4ca6e304a5 allow at-rules other than else to follow @ if 2020-04-20 10:57:35 -04:00
ConnorSkees
aaf37bf4c4 add peekmore as dependency 2020-04-20 04:05:57 -04:00
ConnorSkees
4346756e9e disallow - in unit when followed by [0-9\.] 2020-04-20 04:05:02 -04:00
ConnorSkees
4cdcf4f0d4 use peekmore rather than std::iter::Peekable 2020-04-20 03:45:28 -04:00
ConnorSkees
e07ceda8c7 add unit field to ident eating 2020-04-20 03:20:08 -04:00
ConnorSkees
9790846c99 inspect comma separated list of comma separated lists 2020-04-20 03:07:02 -04:00
ConnorSkees
715f6fb94a inspect single value lists 2020-04-20 02:55:55 -04:00
ConnorSkees
c521e0a835 somewhat handle unary div 2020-04-20 02:32:46 -04:00
ConnorSkees
f8540755f5 better support for unary plus 2020-04-20 02:19:54 -04:00
ConnorSkees
b6cf00c87b addition between number and unary ops 2020-04-20 02:16:22 -04:00
ConnorSkees
23390238b9 implement addition between num + bool 2020-04-20 02:13:28 -04:00
ConnorSkees
9103a1d0d8 add ignored subtraction test 2020-04-20 02:06:45 -04:00
ConnorSkees
a8e97984d4 subtraction occurs when no space between operands 2020-04-20 01:56:53 -04:00
ConnorSkees
9d9997432a properly unquote lists 2020-04-19 22:55:25 -04:00
ConnorSkees
b07b26c871 Merge branch 'master' of https://github.com/connorskees/grass 2020-04-19 22:41:54 -04:00
ConnorSkees
64e2632de4 refactor parsing of quoted strings with interpolation containing strings 2020-04-19 22:41:37 -04:00
Connor Skees
c93bc1daaf Add bug issue template 2020-04-19 22:31:59 -04:00
ConnorSkees
7579a6e9b5 refactor parsing of unquoted strings 2020-04-19 20:22:31 -04:00
ConnorSkees
515c37d110 rearrange readme 2020-04-19 16:38:42 -04:00
ConnorSkees
18a04b2669 move util hex_char_for() to utils.rs 2020-04-19 15:50:22 -04:00
ConnorSkees
e820395cc5 refactor printing and parsing of quoted strings 2020-04-19 13:51:37 -04:00
ConnorSkees
2f7391acda no longer error on formatting issues 2020-04-19 13:11:42 -04:00
ConnorSkees
4ba45bb8c1 more robust handling of is_null 2020-04-19 00:39:18 -04:00
ConnorSkees
deff857d59 remove TODO related to interpolation in comments 2020-04-18 21:38:37 -04:00
ConnorSkees
cb8be064a9 interpolation in multiline comments 2020-04-18 21:01:12 -04:00
ConnorSkees
71546d7fc4 handle -(null) and -null 2020-04-18 20:45:40 -04:00
ConnorSkees
305581ad75 properly error when attempting to display map 2020-04-18 20:11:49 -04:00
ConnorSkees
0a5c6b907c test mul unit display errors 2020-04-18 19:50:14 -04:00
ConnorSkees
47b7ece6c5 update tests to include new API changes 2020-04-18 19:08:35 -04:00
ConnorSkees
a3a218f950 Remove StyleSheet::print_as_css from main 2020-04-18 18:59:16 -04:00
ConnorSkees
9a72d9714a BREAKING: consolidate StyleSheet::print_as_css 2020-04-18 18:53:18 -04:00
ConnorSkees
8955042359 Remove SCSS unit tests
The behavior tested by them is redundantly tested in the integration
tests. In addition, the behavior inside format.rs is redundant and will
eventually be removed.
2020-04-18 18:46:17 -04:00
ConnorSkees
759e5fdfef simplify ident addition/subtraction 2020-04-18 13:44:11 -04:00
ConnorSkees
fc51798595 change several if statements to match 2020-04-18 13:22:06 -04:00
ConnorSkees
52c6ed0b64 remove QuoteKind::Single variant 2020-04-18 13:19:30 -04:00
ConnorSkees
a83aef04ca use Spanned::map_node rather than destructuring 2020-04-18 13:03:54 -04:00
ConnorSkees
5d2d236a82 bump codemap 2020-04-17 13:17:39 -04:00
ConnorSkees
a5b54e3ed0 toplevel docs for color module 2020-04-17 13:16:15 -04:00
ConnorSkees
09ee456b96 explicitly match on all units in Unit::kind 2020-04-17 13:12:06 -04:00
ConnorSkees
de78c1147a manually resolve some formatting issues 2020-04-17 13:06:54 -04:00
ConnorSkees
5255c7d829 make todo comment more explicit 2020-04-14 22:40:19 -04:00
ConnorSkees
7181077163 interchangeable underscore/hyphen in builtin functions 2020-04-13 12:57:25 -04:00
ConnorSkees
409fa3a1dd eval args to zip 2020-04-13 12:28:40 -04:00
ConnorSkees
2b784f273a function arg spans include the entire list 2020-04-13 12:20:56 -04:00