1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-27 04:35:14 +01:00
Commit Graph

60 Commits

Author SHA1 Message Date
Oliver Steele
6269836192 Move pkg evaluator -> values 2017-07-27 18:11:37 -04:00
Oliver Steele
474edc1ca8 remove fmt.Stringer render case 2017-07-26 10:59:35 -04:00
Oliver Steele
fd7b1f0875 Treat []byte as string, for some purposes 2017-07-23 11:49:09 -04:00
Oliver Steele
023536f149 Coverage 2017-07-19 10:49:39 -04:00
Oliver Steele
73f0fefaab Lint 2017-07-19 10:26:11 -04:00
Oliver Steele
27580ca2a5 Coverage 2017-07-19 10:03:11 -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
dd49b227b6 Whitespace control uses byte.Buffer 2017-07-16 18:02:07 -04:00
Oliver Steele
f9ac12bb26 Implement whitespace control 2017-07-16 17:43:04 -04:00
Oliver Steele
de4f81dc14 Warn on too many filter args 2017-07-16 13:47:06 -04:00
Oliver Steele
41e7b29ba2 TIL io.WriteString 2017-07-15 21:13:21 -04:00
Oliver Steele
29c902f6b3 Coverage 2017-07-15 12:13:07 -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
4317bfcbc1 docs 2017-07-14 12:59:30 -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
bfc7ced272 Reorganize docs and examples 2017-07-13 20:25:12 -04:00
Oliver Steele
6ff5721080 Move package expression -> expressions 2017-07-13 20:18:23 -04:00
Oliver Steele
c864f3c2d4 Add expression.ParseStatement, statement selector literals 2017-07-13 09:12:02 -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
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
b95775c26b Error.Filename -> Path 2017-07-12 07:12:14 -04:00
Oliver Steele
198f6bf306 Consolidate render.Error -> parser.Error 2017-07-12 07:07:57 -04:00
Oliver Steele
816b46a30f Combine CompilationError -> parser.Error 2017-07-12 06:58:45 -04:00
Oliver Steele
bfad047335 Tests 2017-07-10 12:35:53 -04:00
Oliver Steele
b26913805f Parser grammar is distinct from (and embedded in) config 2017-07-10 12:23:46 -04:00
Oliver Steele
342a8b3e81 errors return source location, phase 1 2017-07-10 11:49:14 -04:00
Oliver Steele
328d84f5cd comments 2017-07-10 08:03:31 -04:00
Oliver Steele
635383bd92 gopkg; docs 2017-07-09 23:15:05 -04:00
Oliver Steele
4472b1594c Add error line number 2017-07-09 11:49:24 -04:00
Oliver Steele
69d26a21ad Rename chunk -> token 2017-07-09 11:18:35 -04:00
Oliver Steele
6f7b67f4d7 Coverage 2017-07-09 11:06:15 -04:00
Oliver Steele
585cc5df35 Implement uniq filter 2017-07-07 09:32:24 -04:00
Oliver Steele
846987d86a simplify 2017-07-07 07:30:32 -04:00
Oliver Steele
c599761c6a simplify 2017-07-07 05:51:40 -04:00
Oliver Steele
903acb8d2e Split package render->parser 2017-07-07 05:51:40 -04:00
Oliver Steele
18e2540b3a FunctionalNode -> TagNode 2017-07-06 09:40:37 -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
8f63cb781e Compiler copies the syntax tree 2017-07-06 08:59:10 -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
315af1a51a Rename renderError -> render.Error 2017-07-05 19:33:24 -04:00
Oliver Steele
1da9d4072e Improve some internal names 2017-07-05 19:09:59 -04:00