Modifying AST using MPS

I came to know about MPS that, using MPS we can edit AST directly using Projectional Editor, a great tool. What my doubt is, can we modify AST programmatically using MPS? Or is there any API or Tool using with we can modify AST?

1 comment
Comment actions Permalink
Official comment

Yes, you have full programmatic access to the AST inside MPS. You either use a dedicated "smodel" language, or the underlying Java API.



Please sign in to leave a comment.