Implementing Domain-Specific Languages with Xtext and Xtend

If you know Eclipse then learning how to implement a DSL using Xtext is a natural progression. And this guide makes it easy to get started through a step-by-step approach accompanied with simple examples.

Implementing Domain-Specific Languages with Xtext and Xtend

Lorenzo Bettini

2 customer reviews
If you know Eclipse then learning how to implement a DSL using Xtext is a natural progression. And this guide makes it easy to get started through a step-by-step approach accompanied with simple examples.
eBook
$10.00
RRP $29.99
Save 66%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$10.00
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook

Frequently bought together


Implementing Domain-Specific Languages with Xtext and Xtend Book Cover
Implementing Domain-Specific Languages with Xtext and Xtend
$ 29.99
$ 10.00
Scala for Java Developers Book Cover
Scala for Java Developers
$ 26.99
$ 10.00
Buy 2 for $20.00
Save $36.98
Add to Cart

Book Details

ISBN 139781782160304
Paperback342 pages

Book Description

Xtext is an open source Eclipse framework for implementing domain-specific languages together with its IDE functionalities. 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. "Implementing Domain-Specific Languages with Xtext and Xtend" will teach you how to develop a DSL with Xtext, an Eclipse framework for implementing domain-specific languages. 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. A test-driven approach is used throughout the book when presenting advanced concepts such as type checking and scoping. The book also shows you how to build and release a DSL so that it can be installed in Eclipse, and gives you hints on how to build the DSL headlessly in a continuous integration server. "Implementing Domain-Specific Languages with Xtext and Xtend" aims to complement the official Xtext documentation to explain the main concepts through simplified examples and to teach the best practices for a DSL implementation in Xtext. It is a Beginner’s Guide which should set you up for professional development DSL and its Eclipse IDE tooling.

Table of Contents

Chapter 13: Bibliography

What You Will Learn

Learn to write an Xtext grammar for a DSL Use Xtend as an alternative to Java to write cleaner, easier-to-read, and more maintainable code Write constraint checks for a DSL using the validator mechanism Learn how to write a code generator and an interpreter for a DSL Discover how automatic symbol resolution works in Xtext and how to customize it Build and deploy a DSL implementation so that others can install it Get well versed with the typical Xtext development workflow

Authors

Table of Contents

Chapter 13: Bibliography

Book Details

ISBN 139781782160304
Paperback342 pages
Read More
From 2 reviews

Read More Reviews

These popular $10 titles might interest you

Scala for Java Developers Book Cover
Scala for Java Developers
$ 26.99
$ 10.00
Isomorphic JavaScript Web Development Book Cover
Isomorphic JavaScript Web Development
$ 27.99
$ 10.00
Go Cookbook Book Cover
Go Cookbook
$ 35.99
$ 10.00
Gamification with Moodle Book Cover
Gamification with Moodle
$ 23.99
$ 10.00
TypeScript Essentials Book Cover
TypeScript Essentials
$ 17.99
$ 10.00
Pandas Cookbook Book Cover
Pandas Cookbook
$ 39.99
$ 10.00