- 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.
推薦閱讀
- 一步一步學(xué)Spring Boot 2:微服務(wù)項目實戰(zhàn)
- Learning RxJava
- Python機器學(xué)習(xí)經(jīng)典實例
- PhoneGap:Beginner's Guide(Third Edition)
- 青少年學(xué)Python(第1冊)
- 劍指Java:核心原理與應(yīng)用實踐
- 機器學(xué)習(xí)微積分一本通(Python版)
- Mastering AWS Security
- Java程序設(shè)計與項目案例教程
- Mastering Elixir
- 零基礎(chǔ)學(xué)C++(升級版)
- Arduino電子設(shè)計實戰(zhàn)指南:零基礎(chǔ)篇
- 人人都能開發(fā)RPA機器人:UiPath從入門到實戰(zhàn)
- Java 11 and 12:New Features
- C語言進階:重點、難點與疑點解析