1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-27 13:34:46 +01:00
Commit Graph

51 Commits

Author SHA1 Message Date
Oliver Steele
16c3b6ea59 Add ParseTemplateLocation 2017-07-14 10:17:34 -04:00
Oliver Steele
c11cf2aa25 Move interpreter ops into evaluator package 2017-07-13 23:46: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
405c5bf694 Rename Settings -> Config 2017-07-04 11:08:57 -04:00
Oliver Steele
8d9df82787 Renderers return a string, rather than taking an io.writer 2017-07-04 07:41:17 -04:00
Oliver Steele
24d83f167a "contains" tests for arrays too 2017-07-03 12:56:18 -04:00
Oliver Steele
ba874de258 Implement drops 2017-07-03 12:00:43 -04:00
Oliver Steele
78526e7cb3 Coverage 2017-07-02 08:35:06 -04:00
Oliver Steele
caca7a2b60 Coverage 2017-07-02 07:51:24 -04:00
Oliver Steele
983b9f50e5 Add docs; remove unused UnimplementedError 2017-07-02 00:10:54 -04:00
Oliver Steele
e71bc95d5f Lint 2017-07-01 23:52:23 -04:00
Oliver Steele
f6c4299739 Simplify external tag interface 2017-07-01 10:36:47 -04:00
Oliver Steele
a7cbb9b01b Replace GetVariableMap -> UpdateBindings, RenderFile 2017-06-30 21:05:48 -04:00
Oliver Steele
2e9903ffe6 Filters are an engine configuration 2017-06-30 16:13:18 -04:00
Oliver Steele
41da3f9d05 Tags are called within a RenderContext 2017-06-30 14:51:21 -04:00
Oliver Steele
9dda87f40f contains operates on strings not arrays 2017-06-30 11:21:10 -04:00
Oliver Steele
63e2c5c92a Implement obj['name'] 2017-06-29 14:21:06 -04:00
Oliver Steele
09d36504b4 Lint 2017-06-29 13:14:47 -04:00
Oliver Steele
f15de87195 Docs 2017-06-29 13:08:25 -04:00
Oliver Steele
c4ff3d2083 Rationalize some filenames 2017-06-29 07:54:31 -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
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
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
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
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
c4bd99bc2c Lint 2017-06-27 13:36:38 -04:00
Oliver Steele
babfc3e527 Implement loop tag 2017-06-27 13:18:01 -04:00
Oliver Steele
4189f03261 Move filters to own package 2017-06-27 12:06:24 -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
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
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