todo: Treat all nodes as short-hand template expansions
* doc/todo.texi (Project TODOs/Preprocessor): Add section.master
parent
90c9893a9e
commit
b460c69aa5
|
@ -79,6 +79,25 @@ There is plenty of room for optimization.
|
||||||
@end enumerate
|
@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
|
@section Input/Return Map
|
||||||
@enumerate
|
@enumerate
|
||||||
@item Generate normal packages and use templates rather than a
|
@item Generate normal packages and use templates rather than a
|
||||||
|
|
Loading…
Reference in New Issue