MPS - DSL manufacturing platform

xiaoxiao2021-03-06  21

3rd edition - 2005.6.22 Update EAP version has been released

Meta Programming System (MPS) is a thing of the boss of Sergey Dmitriev - JetBrains. The EAP trial version has been released. The following is his battle.

Sergey Dmitriev believes that we map the domain issues today into generic programming languages ​​such as Java, C #, just like the C language is expressed as in the stone age. So we need to create a DSL close to the problem domain.

In fact, in today's programming system, DSL exists in the form of class / API, but they are not language, there is no language advantage, but there is a general language to limit the class and methods.

It has been a good impression of companies in INTELIJ IDEA. And I found that I have recently been very interested in this kind of thing, maybe because I feel more and more powerful, the current CODER is still very tired, so I always want to have improved programming languages, even if I can't break it at the time. But still can't help attract it.

In addition, the author has given a few views: 1. What is the language: Any unsteady solution for a certain field is 'program'. And they don't necessarily have the text of the text, such as Excel, is a very good non-text, graphical existence.

2. Editor language: Because the author is the boss of Intelij Idea, he also attaches importance to create a DSL editor through the editor language while creating a new DSL.

3. Conversion. Java original code from DSL can also be executed in binary. I think, of course, it should be generated Java original code. (At the same time, the interpreter and the Code Generation are UNIX-style DSL manufacturing methods, while Lisp, SmallTalk uses the language itself, from the bottom-up configuration in-language DSL)

MPS and vigorous MDA movements do not seem to be the same direction, but in fact, the application category of both is different, it can be coexisting, do not need to be considered so fast.

At the same time, Intional Programming and Microsoft's Whitehorse IS in the Same Space.

转载请注明原文地址:https://www.9cbs.com/read-43398.html

New Post(0)