Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2017-07-26 09:50:17 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2017-07-26 09:50:17 -0400
commitb460c69aa58a469cfe5ea218534114217d04c7b3 (patch)
tree8be9b6987147786aac845086b4386e0e47a05bd8
parent90c9893a9e065e6190dac872116f925a6c4b51a0 (diff)
downloadtame-b460c69aa58a469cfe5ea218534114217d04c7b3.tar.gz
tame-b460c69aa58a469cfe5ea218534114217d04c7b3.tar.bz2
tame-b460c69aa58a469cfe5ea218534114217d04c7b3.zip
todo: Treat all nodes as short-hand template expansions
* doc/todo.texi (Project TODOs/Preprocessor): Add section.
-rw-r--r--doc/todo.texi19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/todo.texi b/doc/todo.texi
index 6ef7b1b..811fda3 100644
--- a/doc/todo.texi
+++ b/doc/todo.texi
@@ -79,6 +79,25 @@ There is plenty of room for optimization.
@end enumerate
+@section Preprocessor
+The preprocessor is primarily responsible for macro (template) expansion.
+
+@enumerate
+ @item Remove distinction between primitives and short-hand template
+ expansion.
+ Treat @emph{all} nodes as potential template expansions,
+ and use the core library to mark certain templates as
+ primitives.
+ This will allow extending the language grammar naturally,
+ and easily convert existing primitives to templates.@footnote{
+ For example, @samp{lv:rate-each} is a good candidate for
+ a template.
+ Ideally, all XSLT-driven expansions should be converted
+ into templates (the template system didn't exist back
+ then).}
+@end enumerate
+
+
@section Input/Return Map
@enumerate
@item Generate normal packages and use templates rather than a