todo: Treat all nodes as short-hand template expansions

* doc/todo.texi (Project TODOs/Preprocessor): Add section.
Mike Gerwitz 2017-07-26 09:50:17 -04:00
parent 90c9893a9e
commit b460c69aa5
1 changed files with 19 additions and 0 deletions

View File

@ -79,6 +79,25 @@ There is plenty of room for optimization.
@end enumerate
@section Preprocessor
The preprocessor is primarily responsible for macro (template) expansion.
@item Remove distinction between primitives and short-hand template
Treat @emph{all} nodes as potential template expansions,
and use the core library to mark certain templates as
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
@end enumerate
@section Input/Return Map
@item Generate normal packages and use templates rather than a