Bootstrapping
As far as I understand, the MPS languages are defined with MPS.
In principle, that should mean that I could replace them with my own structure, constraint, type ... languages.
How would I go about to make this work?
In principle, that should mean that I could replace them with my own structure, constraint, type ... languages.
How would I go about to make this work?
Please sign in to leave a comment.
In fact, in MPS 3.0 you can't. There is an implementation problem.
The problem is that MPS knows about some of the language aspects and can't work without code written there. E.g. each node references its concept to be able to identify its type. Now, it really references another node in structure aspect of some language. Instead, it should reference a descriptor generated from this concept - in this case, we could generate this descriptor from some different input.
We are working on that and this feature will be available sometimes, but I can't say when for sure. Not in upcoming release, but maybe in a release.
Let me try to make my question more clear.
I assume that MPS is built using MPS, i.e. that the base languages are defined using the base languages.
This would mean that there are descriptions of the base languages in MPS. These descriptions can be used to build MPS.
Now I want to change the base languages, maybe just a little.