ObjC Language Model

Hi,
I've start to work on ObjC language model for MPS.
You can see it in https://github.com/ido-ran/mps_objc

I have few problems I'll be glad to get help with:
1. I need to generate two files for each class concept - h file and m file. I've created two TextGen for ObjCClass concept but I'm not sure how to see if it generate them both, the preview show only one.

2. ObjC method names are constructed from combination of function name intermingled with parameter type and name. I've created it but I'll be glad to hear what other think on it.

Thank you,
Ido.
4 comments
Hi,
The link was not clear.
I manage to find where on the disk MPS generate the text file but it generate only one file out of the two TextGen aspects.

If I choose the sandbox project in which I use my language - is it enough to right click on it and choose Rebuild Solution to generate the text files?

Thank you,
Ido.
0
You could also use a generator instead of textgen (for example with this plugin or something similar) and multiple root mapping rules.
0
Thank you, I'll read more into this.
0

Please sign in to leave a comment.