Closed balhoff closed 7 years ago
It seems like template files could be simplified if the interpolation used variable names instead of requiring the list of positions. Instead of this:
vars: quality: "'Thing'" entity: "'Thing'" location: "'Thing'" name: text: "%s %s in %s" vars: - quality - entity - location equivalentTo: text: "%s and 'inheres in' some (%s and 'part of' some %s)" vars: - quality - entity - location
What about this:
vars: quality: "'Thing'" entity: "'Thing'" location: "'Thing'" name: text: "$quality $entity in $location" equivalentTo: text: "$quality and 'inheres in' some ($entity and 'part of' some $location)"
No need for the vars property in every section.
vars
Appealing suggestion, but don't want to put burden on developers of implementations to build a reliable interpolation system rather than re-use existing ones.
It seems like template files could be simplified if the interpolation used variable names instead of requiring the list of positions. Instead of this:
What about this:
No need for the
vars
property in every section.