Commit Graph

10 Commits

Author SHA1 Message Date
Elf M. Sternberg 8c96acf0f0 Passing tests. 2013-04-27 13:53:31 -07:00
Elf M. Sternberg 7d7bf35d63 Stripped the parser down to its essentials. Will now provide simple
rendering tools for the envisioned basics: IF, LOOP, CONTEXT,
TEMPLATE, VARIABLE/METHOD, and TEXT.

The idea will ultimately be a two-step: a second parser for the
language we'll be parsing(!), so that you'll be able to say:

document
	= if:story if:series if:page

And be able to say with confidence that the document being read conforms
to the language.
2013-04-26 09:23:27 -07:00
Elf M. Sternberg da5506f1df Holy cow. I think I have subtemplates and renderers working. 2013-04-17 22:37:49 -07:00
Elf M. Sternberg 7efcbb6b40 Added check for maximum nesting depth. 2013-04-17 22:05:15 -07:00
Elf M. Sternberg f8e6eb7003 Broke large embeddeds out into the scoped preface, hopefully will make future language specificity easier. 2013-04-17 12:46:37 -07:00
Elf M. Sternberg a28a1f5d36 Passes the first tests. 2013-04-17 10:10:06 -07:00
Elf M. Sternberg 6e00e56e84 Working toward a dynamically defined language for the parse structure. 2013-04-01 10:55:25 -07:00
Elf M. Sternberg 70149bcf1e Renamed the tumbler and parser files so that you import "lib/tumble" 2013-03-30 20:45:12 -07:00
Elf M. Sternberg 1806eccf20 Passing template text and variable substitution methods, at least to one level down. Not working: (1) blocks, (2) descending GET 2013-03-30 20:30:58 -07:00
Elf M. Sternberg 41239a0b4c Basic tests now failing. That's a good thing. 2013-03-06 10:56:04 -08:00