Ben Doerr
c0ad3cec70
🐛 Fix MaxUint32 assignment to platform int
...
This fixes an issue where math.MaxUint32 is assigned to a platform
dependent int type. This works on 64-bit platforms without issue due to
there being plenty of space. On 32-bit platforms this is wrong and will
not compile as math.MaxUint32 > math.MaxInt32.
2021-07-05 14:20:55 +08:00
Oliver Steele
42035af9b1
Replace gometalinter -> golangci; fix lint errors
2021-06-16 18:42:31 +08:00
Oliver Steele
6269836192
Move pkg evaluator -> values
2017-07-27 18:11:37 -04:00
Oliver Steele
85cd6c9385
Wrap values instead of using generic functions
2017-07-20 09:12:31 -04:00
Oliver Steele
7af399ae6f
Rename parse error -> syntax error
2017-07-18 18:40:19 -04:00
Oliver Steele
f1412b603c
Numbers can't start or end with a dot
2017-07-16 12:54:20 -04:00
Oliver Steele
cd234476f7
Implement tablerow
2017-07-15 10:38:12 -04:00
Oliver Steele
6ff5721080
Move package expression -> expressions
2017-07-13 20:18:23 -04:00
Oliver Steele
9691dc203d
Move expressions -> expression
2017-07-04 11:12:40 -04:00
Oliver Steele
9dda87f40f
contains operates on strings not arrays
2017-06-30 11:21:10 -04:00
Oliver Steele
e9c35a35d0
Implement forloop variables
2017-06-28 20:49:38 -04:00
Oliver Steele
6c56efdd51
Implement <=, >=, contains
2017-06-28 17:18:48 -04:00
Oliver Steele
53a41f3df2
Implement loop modifiers
2017-06-28 16:18:46 -04:00
Oliver Steele
607f4f413f
Allow parens
2017-06-28 13:53:37 -04:00
Oliver Steele
a93848a95e
Filters support multiple argument, including expressions
2017-06-28 11:24:24 -04:00
Oliver Steele
c1fd00c261
Negative integer indexes from end of list
2017-06-27 20:32:55 -04:00
Oliver Steele
a5a3ad2a07
Implement and, or, !=
2017-06-27 17:54:24 -04:00
Oliver Steele
383db45707
Implement loop reversed
2017-06-27 15:10:44 -04:00
Oliver Steele
babfc3e527
Implement loop tag
2017-06-27 13:18:01 -04:00
Oliver Steele
20e4df31d3
Control tags actions are table-driven
2017-06-27 11:12:58 -04:00
Oliver Steele
f52d00f836
Move generics to own package
2017-06-27 10:45:22 -04:00
Oliver Steele
70aa70d044
Filters can have (single) parameters
2017-06-26 21:32:08 -04:00
Oliver Steele
30211ac8d1
Implement some filters
2017-06-26 18:55:12 -04:00
Oliver Steele
cd15950b8d
Implement variable assignment
2017-06-26 15:36:05 -04:00
Oliver Steele
373b2fb096
Move expression parser to sub-package
2017-06-26 09:33:07 -04:00