tame/tamer/src/asg
Mike Gerwitz daa8c6967b tamer: asg: Initial nested template supported
I had hoped this would be considerably easier to implement, but there are
some confounding factors.

First of all: this accomplishes the initial task of getting nested template
applications and definitions re-output in the `xmli` file.  But to do so
successfully, some assumptions had to be made.

The primary issue is that of scope.  The old (XSLT-based) TAME relied on the
output JS to handle lexical scope for it at runtime in most situations.  In
the case of the template system, when scoping/shadowing were needed, complex
and buggy XPaths were used to make a best effort.  The equivalent here would
be a graph traversal, which is not ideal.

I had begun going down the rabbit hole of formalizing lexical scope for
TAMER with environments, but I want to get this committed and working first;
I've been holding onto this and breaking off changes for some time now.

DEV-13708
2023-04-05 15:46:44 -04:00
..
air tamer: asg: Initial nested template supported 2023-04-05 15:46:44 -04:00
graph tamer: asg: Initial nested template supported 2023-04-05 15:46:44 -04:00
.gitignore tamer: Embed ASG ontology visualization in rustdoc-generated docs 2023-03-10 14:28:00 -05:00
air.rs tamer: asg: Initial nested template supported 2023-04-05 15:46:44 -04:00
error.rs tamer: asg::air: InvalidExpansionContext in place of TODO 2023-03-31 14:23:26 -04:00
graph.rs tamer: asg::graph::object::rel: Hash impls for ObjectIndexTo{,Tree} 2023-04-05 15:46:42 -04:00
mod.rs tamer: asg::graph: *lookup{=>_global}* 2023-03-29 12:58:35 -04:00