1
0
mirror of https://github.com/danog/liquid.git synced 2024-12-11 18:49:39 +01:00
Commit Graph

169 Commits

Author SHA1 Message Date
Oliver Steele
af8c48608e Allow - in identifiers 2017-06-28 15:33:04 -04:00
Oliver Steele
910d4b25cb More filters 2017-06-28 14:41:46 -04:00
Oliver Steele
607f4f413f Allow parens 2017-06-28 13:53:37 -04:00
Oliver Steele
055e789d1d Implement capture tag 2017-06-28 13:47:49 -04:00
Oliver Steele
1630af7664 Implement a big chunk of filters 2017-06-28 13:28:55 -04:00
Oliver Steele
a93848a95e Filters support multiple argument, including expressions 2017-06-28 11:24:24 -04:00
Oliver Steele
c648a7030f Implement ar.first, ar.list 2017-06-28 09:50:04 -04:00
Oliver Steele
a4b1835d2c README links to godoc 2017-06-28 09:45:20 -04:00
Oliver Steele
dbdcca4319 Finish generic comparison 2017-06-28 09:36:39 -04:00
Oliver Steele
229059c169 Fix generic equality with nil 2017-06-27 22:54:27 -04:00
Oliver Steele
f8b55032f4 Chunk regex wasn't sufficiently non-greedy 2017-06-27 22:34:46 -04:00
Oliver Steele
43bedef367 More generic.Less; tests 2017-06-27 21:30:47 -04:00
Oliver Steele
2083747c7d Generic Convert handles conversion to time 2017-06-27 20:56:17 -04:00
Oliver Steele
c1fd00c261 Negative integer indexes from end of list 2017-06-27 20:32:55 -04:00
Oliver Steele
d4c895d635 Parse object expressions during parse stage; report error source 2017-06-27 20:23:09 -04:00
Oliver Steele
3dba4eeb10 Makefile default target is ci 2017-06-27 18:10:12 -04:00
Oliver Steele
ac12225247 Add references to README 2017-06-27 18:06:26 -04:00
Oliver Steele
a5a3ad2a07 Implement and, or, != 2017-06-27 17:54:24 -04:00
Oliver Steele
9b8da4f4d2 Unconfuse unless/endunless 2017-06-27 17:43:35 -04:00
Oliver Steele
c09652bed8 Implement raw tag 2017-06-27 17:40:15 -04:00
Oliver Steele
54b9f137ad Add reverse filter; improve generics 2017-06-27 17:29:50 -04:00
Oliver Steele
61b651ce31 Implement date formats 2017-06-27 16:53:34 -04:00
Oliver Steele
b1cf056e36 Catch unimplemented panics 2017-06-27 16:11:32 -04:00
Oliver Steele
d849e74d1d Implement filters: default; date (w/out format) 2017-06-27 16:02:05 -04:00
Oliver Steele
383db45707 Implement loop reversed 2017-06-27 15:10:44 -04:00
Oliver Steele
eb7a18eec3 Implement comment tag 2017-06-27 13:47:14 -04:00
Oliver Steele
c4bd99bc2c Lint 2017-06-27 13:36:38 -04:00
Oliver Steele
29c9ad88a5 Add Makefile 2017-06-27 13:25:07 -04:00
Oliver Steele
fc6d96ed40 Chunk scanner test cases 2017-06-27 13:18:11 -04:00
Oliver Steele
babfc3e527 Implement loop tag 2017-06-27 13:18:01 -04:00
Oliver Steele
db5a3afce4 Restore tag tests 2017-06-27 12:56:10 -04:00
Oliver Steele
0c7a8d2569 Un-export ControlTagDefinition; create builder 2017-06-27 12:23:07 -04:00
Oliver Steele
4189f03261 Move filters to own package 2017-06-27 12:06:24 -04:00
Oliver Steele
83503a149f Move tags to own package 2017-06-27 11:39:32 -04:00
Oliver Steele
089a0c8125 Embed the Chunk in the AST nodes 2017-06-27 11:19:12 -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
612f456745 Implement sort: key 2017-06-27 10:15:31 -04:00
Oliver Steele
87708a0221 Generics 2017-06-27 09:17:57 -04:00
Oliver Steele
9a807d0922 Undefined tags, filters are errors not panics 2017-06-27 08:46:06 -04:00
Oliver Steele
e21d2a736d Add public DefineTag 2017-06-27 07:43:42 -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
e3425cc991 Create LICENSE 2017-06-26 15:36:29 -04:00
Oliver Steele
cd15950b8d Implement variable assignment 2017-06-26 15:36:05 -04:00
Oliver Steele
ed150c5170 Implement string literals (without escapes) 2017-06-26 12:51:56 -04:00
Oliver Steele
803fbbcd61 Docs 2017-06-26 12:41:41 -04:00
Oliver Steele
2a2f333ef0 Create an Expression interface; add some docs 2017-06-26 10:52:23 -04:00
Oliver Steele
a07750293a Improve docs 2017-06-26 10:36:53 -04:00
Oliver Steele
465a681fe8 Add status badges to the README 2017-06-26 10:16:25 -04:00