Problems whith TheSimpestLanguage

Hi,

   I'm trying to create the test model for the SimplesLanguage and I get the folowing error messages:

Can't find a class : TheSimplestLanguage.structure.TheSimplestConcept

Can't find an adapter for jetbrains.mps.smodel.SNode. Try generating adapters.

  What can I do?

  

   Thanks!

0
5 comments

Try to generate the language: select "TheSimplestLanguage" language node in project tree and choose 'Generate language' in popup menu.

0

I already did it!

0

Make sure that generated java files are compiled.

Check the langauge properties: the 'language class path' should point to directory containing your classes.

0

I compiled the java classes manualy and It worked!

  Thank you!

   How the integration between MPS and the java compiler work? Can you point me some document on that?

0

The only integration available is integration with IntelliJ IDEA via MPS idea plugin.

If plugin is installed and IntelliJ IDEA is running, then MPS asks IDEA to 'make' project after file generation is complete.

Otherwise the compilation and 'reload All' should be done manually.

0

Please sign in to leave a comment.