Trying to create a simple script language; 'expressions' sample not helping
I’m trying to get a handle on creating some simple types for a small scripting language. Is there a better example to follow than the ‘expressions’ sample? It seems to be broken:
Please sign in to leave a comment.
You are assigning a BaseLanguage integer constant into the "var", that's why you are getting a type-system error. This sample language was not designed to interact with BaseLanguage expressions (https://confluence.jetbrains.com/display/MPSD20172/Typesystem+Debugging). You should be using SimpleMathIntegerConstant instead.
Vaclav