Visualization of a DSL in MPS

Hello forum!

I would really like to know what's the best way to visualize the corresponding AST to a MPS language. It would be great if the language designer could generate a visualization of the language directly from MPS. It would be great for documentation purposes.

I had something like these in mind:

http://www.cs.dartmouth.edu/~cs48/Project/AST/ast-sample.jpg

http://i.stack.imgur.com/SyonV.png

 

Regards

msch95

2 comments

Hi,

You can build that using the mbeddr tree notation. (com.mbeddr.mpsutil.treenotation. There is also a sandbox for that.)

 

1

Thanks Bernd!
That looks interesting and could very well fit my needs. I'll try that ASAP.

0

Please sign in to leave a comment.