Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation / Alignments #18

Open
Jazzpirate opened this issue Mar 2, 2021 · 3 comments
Open

Translation / Alignments #18

Jazzpirate opened this issue Mar 2, 2021 · 3 comments

Comments

@Jazzpirate
Copy link
Collaborator

  1. We might want a syntax for alignments in LaTeX
  2. We might want users to be able to add new alignmentes on MathHub
  3. => We probably need a better syntax and interfaces for users to specify/provide alignments including their arguments
  4. MMT needs a better way to store/retrive/know about alignments => ULO, relational? (Work in progress, once relational is reimplemented as ULO/rdf)? Where/how should they be stored in the future to be persistent (if provided by a standalone user interface?)
@kohlhase
Copy link
Member

kohlhase commented Mar 2, 2021

1. We might want a syntax for alignments in LaTeX

we already have an alignment syntax in sTeX, it is in key/value arguments to {module} and \symdef.

@Jazzpirate
Copy link
Collaborator Author

we already have an alignment syntax in sTeX, it is in key/value arguments to {module} and \symdef.

Right, but that would need to expanded, since this only carries the information "aligned with", not "aligned via" (e.g. argument orders, etc.)

@Jazzpirate
Copy link
Collaborator Author

In the most general case, we would need alignments to be able to map arbitrary terms according to patterns to arbitrary terms, i.e. something of the form "If t conforms to pattern s(a1...an), translate to s'(a1...an)". That would subsume all computational translations I currently have. If we can get that to work in LaTeX and MMT, that is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants