1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-27 05:44:40 +01:00
Commit Graph

82 Commits

Author SHA1 Message Date
Oliver Steele
51d7166e88 Package docs 2017-08-08 16:42:32 -04:00
Oliver Steele
068afefea0 Fix file not found tests for Windows 2017-08-08 15:14:31 -04:00
Oliver Steele
eac67c350b Pull loop renderer into separate method
For more readable profiles
2017-08-03 15:20:56 +02:00
Oliver Steele
6269836192 Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
Oliver Steele
fd230ed2cc Tests 2017-07-26 10:12:25 -04:00
Oliver Steele
306be633be teach iteration about MapSlice 2017-07-22 09:42:02 -04:00
Oliver Steele
413b3283bf Coverage 2017-07-19 09:42:01 -04:00
Oliver Steele
7af399ae6f Rename parse error -> syntax error 2017-07-18 18:40:19 -04:00
Oliver Steele
a78d95d73f Coverage 2017-07-18 18:40:19 -04:00
Oliver Steele
67cb2e0462 Iterating over hash yields [key, value] pairs 2017-07-17 12:21:39 -04:00
Oliver Steele
2c497e3bbb Quote tag names in error messages 2017-07-17 12:19:14 -04:00
Oliver Steele
f1412b603c Numbers can't start or end with a dot 2017-07-16 12:54:20 -04:00
Oliver Steele
41e7b29ba2 TIL io.WriteString 2017-07-15 21:13:21 -04:00
Oliver Steele
6b8f76ce9b Rename xxxTagParser -> xxxTagCompiler 2017-07-15 10:40:05 -04:00
Oliver Steele
cd234476f7 Implement tablerow 2017-07-15 10:38:12 -04:00
Oliver Steele
a2a4a1a5ec Coverage 2017-07-14 14:28:02 -04:00
Oliver Steele
1c94b61bcc Replace render switch by polymorphism
(No perf impact)
2017-07-14 13:01:04 -04:00
Oliver Steele
92a4f2d500 Source location is an initialization parameter
Fixes a race condition
2017-07-14 10:38:30 -04:00
Oliver Steele
6ff5721080 Move package expression -> expressions 2017-07-13 20:18:23 -04:00
Oliver Steele
bad5593bb8 Make harmless iterating over value 2017-07-13 18:59:10 -04:00
Oliver Steele
271f637aae Close #18 loop range 2017-07-13 15:07:25 -04:00
Oliver Steele
497a93277b ranges…but need to separated by .. 2017-07-13 14:58:36 -04:00
Oliver Steele
22d583f02c Prep loop for ranges 2017-07-13 14:18:08 -04:00
Oliver Steele
2880ef4d89 Complete #19 when a or b 2017-07-13 11:59:11 -04:00
Oliver Steele
c3c9de781c Move control flow tags to separate file 2017-07-13 11:13:32 -04:00
Oliver Steele
74441188c7 Cycle uses Statement; steps towards cycle groups 2017-07-13 11:07:45 -04:00
Oliver Steele
110fee61c6 Loop uses the statement record 2017-07-13 10:08:17 -04:00
Oliver Steele
8964dafb60 New ParseStatement returns record with different statement parse types 2017-07-13 09:55:36 -04:00
Oliver Steele
c864f3c2d4 Add expression.ParseStatement, statement selector literals 2017-07-13 09:12:02 -04:00
Oliver Steele
55eb5b4175 Rename loop_tag -> iteration_tags 2017-07-13 08:51:49 -04:00
Oliver Steele
a637d2710a Start #2 cycle tag 2017-07-12 14:25:41 -04:00
Oliver Steele
26bdd09897 Complete #4 case…else 2017-07-12 09:18:49 -04:00
Oliver Steele
5a12245d9b rename node.Branch -> Clause too 2017-07-12 08:58:14 -04:00
Oliver Steele
8882a7ddd7 Rename files -> standard_tags, standard_filters 2017-07-12 08:43:23 -04:00
Oliver Steele
554753223c Rename branch -> clause (and remove Governs) 2017-07-12 08:43:23 -04:00
Oliver Steele
df80e8cddb Rename Config.Filename -> SourcePath 2017-07-12 07:19:58 -04:00
Oliver Steele
bfad047335 Tests 2017-07-10 12:35:53 -04:00
Oliver Steele
342a8b3e81 errors return source location, phase 1 2017-07-10 11:49:14 -04:00
Oliver Steele
12045b5f93 Remove else/elsif from unless 2017-07-08 09:10:13 -04:00
Oliver Steele
594ec99e9c Rename 2017-07-06 09:38:18 -04:00
Oliver Steele
54e840c8eb Move tag compilation to compiler stage 2017-07-06 09:35:12 -04:00
Oliver Steele
803471c15f Render tree is distinct type from parse AST 2017-07-06 09:21:26 -04:00
Oliver Steele
c7d9af2fcc Start to separate parser and compiler 2017-07-06 08:07:53 -04:00
Oliver Steele
36929af0a6 Coverage 2017-07-05 23:25:03 -04:00
Oliver Steele
1da9d4072e Improve some internal names 2017-07-05 19:09:59 -04:00
Oliver Steele
2161bb6044 Add IsTemplateError 2017-07-05 14:24:15 -04:00
Oliver Steele
a434a750f5 Move generics -> evaluator 2017-07-05 11:35:07 -04:00
Oliver Steele
fab31d9e8b Implement include 2017-07-05 10:37:46 -04:00
Oliver Steele
d31fe04734 Move assign tag -> tags package 2017-07-04 11:45:24 -04:00
Oliver Steele
411a2f0708 Rename render.(Context,RenderContext) -> (NodeContext,Context) 2017-07-04 11:41:45 -04:00