官术网_书友最值得收藏!

Summary

In this chapter, you learned how to implement a simple DSL with Xtext and you saw that, starting from a grammar definition, Xtext automatically generates many artifacts for the DSL, including IDE tooling.

You also started to learn the EMF API that allows you to programmatically manipulate a model representing a program AST. Being able to programmatically access models is crucial to perform additional checks on a program that has been parsed and also to perform code generation, as we will see in the rest of the book.

In the next chapter, we will introduce the programming language Xtend, which is shipped with Xtext and is implemented in Xtext itself. Xtend is a Java-like general purpose programming language, completely inter-operable with Java that allows you to write much simpler and much cleaner programs. We will use Xtend in the rest of the book to implement all the aspects of Xtext languages.

主站蜘蛛池模板: 鲁山县| 新闻| 泰和县| 开阳县| 都安| 长岭县| 老河口市| 麻江县| 额敏县| 平塘县| 奉新县| 湟中县| 桃园市| 涿州市| 石渠县| 吉水县| 芮城县| 漳平市| 洞头县| 澳门| 拜城县| 洛阳市| 哈密市| 迭部县| 宜君县| 波密县| 安阳市| 柞水县| 达州市| 九江市| 普兰店市| 扎鲁特旗| 樟树市| 故城县| 洛浦县| 乌审旗| 大庆市| 乌拉特中旗| 寻乌县| 含山县| 金秀|