You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It's not a frustration, just an idea that I came up with as I was preparing the TNO Conceptual Modelling Masterclass (MC).
In this MC, I have found it useful to be able to refer to atoms in sentences using {{SRC}} and {{TGT}}, which allows me to write
RELATION isParentOf[Person*Person] MEANING "{{SRC}} is the parent of {{TGT}}"
Not only is this much more readable that the current PRAGMA syntax, I can imagine that using this in combination with handlebar templates also opens much wider possibilities. For example, I can see them being used in violations and interfaces (combined, perhaps, with ampersand-tailored handlebars functions).
Describe the solution you'd like
I would like to have the ability to use handlebars expressions in various Ampersand syntax elements, such as MEANING, PURPOSE, PRAGMA, INTERFACEs, where the handlebars object (obviously) needs to be specified, but would contain elements such as SRC, TGT, SESSION, ROOTATOM (in an interface).
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It's not a frustration, just an idea that I came up with as I was preparing the TNO Conceptual Modelling Masterclass (MC).
In this MC, I have found it useful to be able to refer to atoms in sentences using
{{SRC}}
and{{TGT}}
, which allows me to writeRELATION isParentOf[Person*Person] MEANING "{{SRC}} is the parent of {{TGT}}"
Not only is this much more readable that the current PRAGMA syntax, I can imagine that using this in combination with handlebar templates also opens much wider possibilities. For example, I can see them being used in violations and interfaces (combined, perhaps, with ampersand-tailored handlebars functions).
Describe the solution you'd like
I would like to have the ability to use handlebars expressions in various Ampersand syntax elements, such as MEANING, PURPOSE, PRAGMA, INTERFACEs, where the handlebars object (obviously) needs to be specified, but would contain elements such as
SRC
,TGT
,SESSION
,ROOTATOM
(in an interface).Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: