slatex / sTeX

A semantic Extension of TeX/LaTeX
49 stars 9 forks source link

have instantiate (and maybe varinstantiate too?) environments with inner syntax analogous to morphisms #352

Open Jazzpirate opened 1 year ago

Jazzpirate commented 1 year ago

i.e. a similar syntax as copymodule/interpretmodule/realization as enabled by #351 should probably be possible for instances as well (they could in fact be interpretmodules). Possibly also for varinstantiate (could also be a copymodule, with the non-assigned symbols of the domain "assigned" to new variables).

In general, both in sTeX and MMT one should think about how to unify the "morphism representation" (as copymodule/interpretmodule) with the "instance representation" (i.e. as record)