Implementing Domain Specific Languages with Xtext and Xtend 2nd Edition


Implementing.Domain.Specific.Languages.with.Xtext.and.Xtend.2nd.Edition


Discover ways to implement a DSL with Xtext and Xtend utilizing easy-to-understand examples and finest practices
 
Xtext is an open supply Eclipse framework for implementing domain-specific languages along with IDE functionalities. It permits you to implement languages actually rapidly; most of all, it covers all facets of an entire language infrastructure, together with the parser, code generator, interpreter, and extra.
This ebook will allow you to implement Area Particular Languages (DSL) effectively, along with their IDE tooling, with Xtext and Xtend. Opening with temporary protection of Xtext options concerned in DSL implementation, together with integration in an IDE, the ebook will then introduce you to Xtend as this language can be utilized in all of the examples all through the ebook. You'll then discover the standard programming growth workflow with Xtext once we modify the grammar of the DSL.
Additional, the Xtend programming language (a fully-featured Java-like language tightly built-in with Java) can be launched. We then clarify the principle ideas of Xtext, corresponding to validation, code era, and customizations of runtime and UI facets. You should have realized the best way to take a look at a DSL applied in Xtext with JUnit and can progress to superior ideas corresponding to sort checking and scoping. You'll then combine the standard Steady Integration techniques in-built to Xtext DSLs and familiarize your self with Xbase. By the tip of the ebook, you'll manually keep the EMF mannequin for an Xtext DSL and can see how an Xtext DSL may also be utilized in IntelliJ.
What You Will Be taught

Write Xtext grammar for a DSL;
Use Xtend as an alternative choice to Java to jot down cleaner, easier-to-read, and extra maintainable code;
Construct your Xtext DSLs simply with Maven/Tycho and Gradle;
Write a code generator and an interpreter for a DSL;
Discover the Xtext scoping mechanism for image decision;
Take a look at most facets of the DSL implementation with JUnit;
Perceive finest practices in DSL implementations with Xtext and Xtend;
Develop your Xtext DSLs utilizing Steady Integration mechanisms;
Use an Xtext editor in an internet utility

 


Edition: 2nd Edition
ISBN: 1786464969
Posted on: 11/18/2016
Format: Pdf
Page Count: 427 Pages
Author: Lorenzo Bettini,: --------------------

本文隐藏内容 登录 后才可以浏览

资源失效、缺失、错误 不要慌


生活不止苟且,还有我喜爱的海岸.