Implementing domain specific languages with xtext and xtend pdf

6.58  ·  8,565 ratings  ·  737 reviews
Posted on by
implementing domain specific languages with xtext and xtend pdf

Produkten hittades inte

Learn how to implement a DSL with Xtext and Xtend using easy-to-understand examples and best practices. It lets you implement languages really quickly, and, most of all, it covers all aspects of a complete language infrastructure, starting from the parser, code generator, interpreter, and more. The chapters are like tutorials that describe the main concepts of Xtext such as grammar definition, validation, code generation, customizations, and many more, through uncomplicated and easy-to-understand examples. Starting with briefly covering the features of Xtext that are involved in a DSL implementation, including integration in an IDE, the book will then introduce you to Xtend as this language will be used in all the examples throughout the book. We then proceed by explaining the main concepts of Xtext, such as validation, code generation, and customizations of runtime and UI aspects. By the end of the book, you will have learned how to test a DSL implemented in Xtext with Junit, in order to follow a test-driven development strategy that will help the developer implement maintainable code that is much faster and cleaner.
File Name: implementing domain specific languages with xtext and xtend
Size: 89591 Kb
Published 04.01.2019

JetBrains MPS: Projectional Editing in Domain-Specific Languages

JavaScript seems to be disabled in your browser.

Implementing Domain-Specific Languages with Xtext and Xtend - Second Edition

Technologies for Mastering Change pp Cite as. For several years now, domain-specific languages DSLs are a mainstream tool for establishing model-based development environments in real-world projects. Typical back-end tools for external DSLs are interpreters and code generators. Partial evaluation is a well-known technique for program specialization, with the use case of specializing interpreters to target programs. In this paper, we show how interpreters for a DSL can be used as a basis for automatic generation of efficient target code.

With the proliferation of mobile and distributed systems capable of providing its geoposition and even the geoposition of any other element, commonly called point of interest, developers have created a multitude of new software applications. For this purpose, different technologies such as the GPS or mobile networks are used. There are different languages or formats used to define these points of interest and some applications that facilitate such work. However, there is no globally accepted standard language, which complicates the intercommunication, portability and re-usability of the definitions of points of interest currently in use. In this paper, we take the first steps towards a language and a development environment independent of the underlying technologies, allowing developers to define the points of interest in a simple and fast way, and automatically generate other different formats from the same definition that can be considered a bridge among current technologies. We use the Model-Driven Engineering approach, focusing on the creation of models to abstract the definition of systems from the underlying technologies. Dinniwell R.


Stay ahead with the world's most comprehensive technology and business learning platform.



2 thoughts on “Cheat sheet on Xtext Grammar Language – Domain-specific languages

Leave a Reply