- Implementing Domain:Specific Languages with Xtext and Xtend
- Lorenzo Bettini
- 153字
- 2021-08-13 16:26:18
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 new programming language, Xtend (which is shipped with Xtext, and is implemented in Xtext itself): a Java-like general purpose programming language tightly integrated 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 languages implemented in Xtext.
- Building a Game with Unity and Blender
- 算法基礎:打開程序設計之門
- .NET 4.0面向對象編程漫談:基礎篇
- Responsive Web Design with HTML5 and CSS3
- 精通軟件性能測試與LoadRunner實戰(第2版)
- Scratch 3游戲與人工智能編程完全自學教程
- Java項目實戰精編
- Flutter跨平臺開發入門與實戰
- 代替VBA!用Python輕松實現Excel編程
- 大學計算機基礎實驗指導
- AI自動化測試:技術原理、平臺搭建與工程實踐
- 嵌入式C編程實戰
- RESTful Web API Design with Node.js
- Python程序員面試算法寶典
- Image Processing with ImageJ(Second Edition)