Implementing Domain Specific Languages with Xtext and Xtend - Second Edition
Free Shipping Included! Implementing Domain Specific Languages with Xtext and Xtend - Second Edition by Packt Publishing - ebooks Account at Translate This Website. Hurry! Limited time offer. Offer valid only while supplies last. Learn how to implement a DSL with Xtext and Xtend using easy-to-understand examples and best practicesAbout This BookLeverage the latest features of
Learn how to implement a DSL with Xtext and Xtend using easy-to-understand examples and best practices
About This Book
- Leverage the latest features of Xtext and Xtend to develop a domain-specific language.
- Integrate Xtext with popular third party IDEs and get the best out of both worlds.
- Discover how to test a DSL implementation and how to customize runtime and IDE aspects of the DSL
Who This Book Is For
This book is targeted at programmers and developers who want to create a domain-specific language with Xtext. They should have a basic familiarity with Eclipse and its functionality. Previous experience with compiler implementation can be helpful but is not necessary since this book will explain all the development stages of a DSL.
What You Will Learn
- Write Xtext grammar for a DSL;
- Use Xtend as an alternative to Java to write cleaner, easier-to-read, and more maintainable code;
- Build your Xtext DSLs easily with Maven/Tycho and Gradle;
- Write a code generator and an interpreter for a DSL;
- Explore the Xtext scoping mechanism for symbol resolution;
- Test most aspects of the DSL implementation with JUnit;
- Understand best practices in DSL implementations with Xtext and Xtend;
- Develop your Xtext DSLs using Continuous Integration mechanisms;
- Use an Xtext editor in a web application
Xtext is an open source Eclipse framework for implementing domain-specific languages together with IDE functionalities. It lets you implement languages really quickly; most of all, it covers all aspects of a complete language infrastructure, including the parser, code generator, interpreter, and more.
This book will enable you to implement Domain Specific Languages (DSL) efficiently, together with their IDE tooling, with Xtext and Xtend. Opening with brief coverage of Xtext features involved in 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. You will then explore the typical programming development workflow with Xtext when we modify the grammar of the DSL.
Further, the Xtend programming language (a fully-featured Java-like language tightly integrated with Java) will be introduced. We then explain the main concepts of Xtext, such as validation, code generation, and customizations of runtime and UI aspects. You will have learned how to test a DSL implemented in Xtext with JUnit and will progress to advanced concepts such as type checking and scoping. You will then integrate the typical Continuous Integration systems built in to Xtext DSLs and familiarize yourself with Xbase. By the end of the book, you will manually maintain the EMF model for an Xtext DSL and will see how an Xtext DSL can also be used in IntelliJ.
Style and approach
A step-by step-tutorial with illustrative examples that will let you master using Xtext and implementing DSLs with its custom language, Xtend.
|Manufacturer:||Packt Publishing - ebooks Account|
|Publisher:||Packt Publishing - ebooks Account|
|Studio:||Packt Publishing - ebooks Account|
|Item Size:||0.96 x 9.25 x 9.25 inches|
|Package Weight:||2.07 pounds|
|Package Size:||7.32 x 1.1 x 1.1 inches|
Have questions about this item, or would like to inquire about a custom or bulk order?
If you have any questions about this product by Packt Publishing - ebooks Account, contact us by completing and submitting the form below. If you are looking for a specif part number, please include it with your message.
Related Best Sellers
By Summerfield, Mark
mpn: 26986130, ean: 9780321680563, isbn: 9780321680563,
A Fully Revised Edition Featuring New Material on Coroutines, Debugging, Testing, Parsing, String Formatting, and More Python 3 is the best version of the language yet: It is more powerful, convenient, consistent, and expressive than ever before....
By Brand: Mouton de Gruyter
ean: 9783110184068, isbn: 3110184060,
Language documentation is a rapidly emerging new field in linguistics which is concerned with the methods, tools and theoretical underpinnings for compiling a representative and lasting multipurpose record of a natural language. This volume presents ...
By Brand: No Starch Press
ean: 9781593273859, isbn: 1593273851,
Seemingly simple bugs can have drastic consequences, allowing attackers to compromise systems, escalate local privileges, and otherwise wreak havoc on a system.A Bug Hunter's Diary follows security expert Tobias Klein as he tracks down and exploits b...
By McGraw-Hill Humanities/Social Sciences/Languages
ean: 9780073046075, isbn: 0073046078,
Based on the Natural Approach, Dos mundos stresses the use of engaging activities and interesting readings in a natural and spontaneous classroom atmosphere. In this comprehension-based approach to learning language, the development of communicative ...
By Manning Publications
ean: 9781617292934, isbn: 1617292931,
Summary Camel in Action, Second Edition is the most complete Camel book on the market. Written by core developers of Camel and the authors of the highly acclaimed first edition, this book distills their experience and practical insights so that you c...
By O'Reilly Media
mpn: 45342215, ean: 9781491958704, isbn: 1491958707,
By taking you through the development of a real web application from beginning to end, the second edition of this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You’ll learn how to write and run t...
mpn: 7 black & white tables, 45 black & white, ean: 9781138776456, isbn: 1138776459,
In Social Media Communication: Concepts, Practices, Data, Law and Ethics, Jeremy Harris Lipschultz presents a wide-scale, interdisciplinary analysis and guide to social media. Examining platforms such as Twitter, Facebook, LinkedIn, Pinterest, Youtub...
ean: 9781572313491, isbn: 1572313498,
By Libraries Unlimited
mpn: 94, ean: 9781610699983, isbn: 161069998X,
This groundbreaking textbook and guide for library school students and librarians will help you―regardless of experience level or environment―learn the ins and outs of working with online databases, the best tactics for effective research online,...
By O'Reilly Media
mpn: 42027265, ean: 9781491921975, isbn: 1491921978,
Using Scalable Vector Graphics (SVG) for illustrations only scratches the surface of this format’s potential on the web. With this practical guide, you’ll learn how to use SVG not only for illustrations but also as graphical documents that you ca...