MPS(元编程语言)值得研究吗? [英] Is MPS (a meta-programming language) worth looking into?

查看:175
本文介绍了MPS(元编程语言)值得研究吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Jetbrains的另一个项目,他们的新问题跟踪器Charisma完全用 MPS 编写. .这个概念有用/实用,还是为时过早?

Another project from Jetbrains, their new issue tracker Charisma was written entirely in MPS. Is the concept useful/practical, or is it too soon?

推荐答案

MPS不仅仅是Java的DSL.这实际上是语言上的.您可以将语言生成为MPS支持的任何其他语言.我们在MPS 1.1中开箱即用地支持Java,XML和纯文本(作为最后的手段).可能在将来的版本中,我们将提供其他语言,例如javascript,css等.

MPS isn't just DSLs for Java. It's actually language-angostic. You can generate your language into any other language that is supported by MPS. We support Java, XML, and plain text (as a last resort) out of the box in MPS 1.1. Probably, in future version, we will provide other languages such as javascript, css, etc.

MPS的其他关键功能之一是其他语言无法提供的功能.您可以创建多种语言扩展,并以所需的方式进行组合.例如,一个供应商可能为他们的数据库实现一种语言,而另一种供应商为财务计算实现一种语言.他们会很好地合作,并且您不会有任何歧义之类的问题.

One of the key features of MPS which isn't available in other tools is ability to compose languages. You can create several language extensions and compose them in a way that you want. For example, one vendor might implement a language for their database, and the other a language for financial calculations. They will work together well, and you won't have any problems like ambiguities, etc.

这篇关于MPS(元编程语言)值得研究吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆