Open florian-rabe opened 6 years ago
It would be even better if the MMT theory weren't needed at all.
Instead, the programmer could annotate the Scala classes/methods that should be exposed. The new MMT component could collect the annotated declarations and build the theory in memory.
@Jazzpirate @jbetzend @kohlhase
This is not urgent but a nice new feature that could be seriously useful for external people. It could be a good student project.
This is inspired by recent work by Jansson et al, which do the same ad hoc and for a limited type theory in Haskell. There is a paper on it, possibly forthcoming.
Consider any Scala API (not necessarily MMT-related). We want to automatically parse strings into it in a safe way.
We can do that as follows: