- Implementing Domain:Specific Languages with Xtext and Xtend
- Lorenzo Bettini
- 119字
- 2021-08-13 16:26:18
Chapter 3. The Xtend Programming Language
In this chapter, we will introduce the Xtend programming language, a fully-featured Java-like language that is tightly integrated with Java. Xtend has a more concise syntax than Java and provides additional features such as type inference, extension methods, and lambda expressions, not to mention multi-line template expressions (which are useful when writing code generators). All the aspects of a DSL implemented in Xtext can be implemented in Xtend instead of Java, since it is easier to use and allows you to write better-readable code. Since Xtend is completely interoperable with Java, you can reuse all the Java libraries; moreover, all the Eclipse JDT (Java Development Tools) will work with Xtend seamlessly.
推薦閱讀
- JavaScript+DHTML語法與范例詳解詞典
- Manga Studio Ex 5 Cookbook
- Learning Flask Framework
- Hadoop+Spark大數據分析實戰
- 征服RIA
- Mastering Rust
- Hands-On Swift 5 Microservices Development
- Learning Zurb Foundation
- Mastering Linux Network Administration
- Learning Probabilistic Graphical Models in R
- PHP編程基礎與實例教程
- Visual Studio 2015高級編程(第6版)
- CRYENGINE Game Development Blueprints
- OpenCV 3計算機視覺:Python語言實現(原書第2版)
- Ext JS 4 Plugin and Extension Development