scheme - Little languages similar to the "picture language" in SICP -


Section 2.2.4 Describes a little "picture language" for creating a complex image pattern. The language defines a single primitive painter to change and combine the painters to draw an image in a single frame and create a new painter. . / P>

I like this example and want to see more examples of such languages ​​(primarily plan ). I will reflect languages ​​for the system / business domain. Do you know about any such small language?

These "small" languages ​​are also known as DSL or this widely used programming paradigm Is used, but it has advantages and disadvantages. For example, there is a general general game gaming system, which is called. It is used, so its litterase know that its syntax is very familiar. In fact, there is DSL in any game scripting language.

If you are a web developer, you often work with template languages. And you can think of the template language as a domain specific language, some of which can be expanded, such as through custom template tags.

Some common general languages ​​were initially developed in the form of domain specific languages, for example, initially designed by Ericsson for telephony applications.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -