Previously, he was a researcher in computer science at Dipartimento di Informatica, Universita di Torino, Italy. He has been using Xtext since version 0. He has used Xtext and Xtend for implementing many domain-specific languages and Java-like programming languages. He also contributed to Xtext, and he recently became an Xtext committer.
|Published (Last):||6 May 2005|
|PDF File Size:||18.64 Mb|
|ePub File Size:||13.77 Mb|
|Price:||Free* [*Free Regsitration Required]|
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. 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.
A step-by-step guide that enables you to quickly implement a DSL with Xtext and Xtend in a test-driven way with the aid of simplified examples. This book is for programmers who want to learn about Xtext and how to use it to implement a DSL or a programming language together with Eclipse IDE tooling.
It assumes that the user is familiar with Eclipse and its functionality. Existing basic knowledge of a compiler implementation would be useful, though not strictly required, since the book will explain all the stages of the development of a DSL.
Goodreads helps you keep track of books you want to read. Want to Read saving…. Want to Read Currently Reading Read. Other editions. Enlarge cover. Error rating book. Refresh and try again.
Open Preview See a Problem? Details if other :. Thanks for telling us about the problem. Return to Book Page. In Detail Xtext is an open source Eclipse framework for implementing domain-specific languages together with its IDE functionalities.
Approach A step-by-step guide that enables you to quickly implement a DSL with Xtext and Xtend in a test-driven way with the aid of simplified examples. Who this book is for This book is for programmers who want to learn about Xtext and how to use it to implement a DSL or a programming language together with Eclipse IDE tooling. Get A Copy. Paperback , pages. Published June 20th by Packt Publishing first published January 1st More Details Other Editions 2.
Friend Reviews. To see what your friends thought of this book, please sign up. Lists with This Book. This book is not yet featured on Listopia. Community Reviews.
Showing Average rating 4. Rating details. Sort order. Jan 09, Alexei Shmidman rated it it was amazing. Aug 19, Pavol Mederly rated it it was amazing. I consider this book to be a perfect source of information for DSL domain-specific language developer that uses Xtext. In my case, the most valuable things were the examples - the book contains well described, fully functional examples dealing with non-trivial I consider this book to be a perfect source of information for DSL domain-specific language developer that uses Xtext.
In my case, the most valuable things were the examples - the book contains well described, fully functional examples dealing with non-trivial aspects, like working with expressions chapter 8 , type checking chapter 9 and scoping chapter The chapter on scoping was perhaps the one I've appreciated most.
The topic is quite complex and this chapter provides really good explanation of it, supported by nice and functional examples. Before buying the book I was not able to comprehend the topic from the official documentation to sufficient depth; this book definitely helped me with this.
The book is well structured, easy to read and comprehend. Overall, cca 20 euros spend on electronic version of this book turned out to be very well invested money in my case. Although I had some experiences with Xtext before with older version 1.
Many of the approaches and examples described in the book were directly usable in my case, as they deal with typical problems connected to writing a DSL. Oct 03, Andrea rated it it was amazing. The book presents the functionalities of the Xtext framework and the basic concepts needed for implementing a DSL language.
It provides also a very interesting presentation of Xtend and Xbase technology. The presentation follows a step-by-step exposition of the main implementation aspects, varying from parsing to validation. The reader can appreciate the usage of various easy-to-understand examples throughout the book and multiple tips on how better using the framework. Moreover, a balanced pres The book presents the functionalities of the Xtext framework and the basic concepts needed for implementing a DSL language.
Moreover, a balanced presentation of foundational and practical aspects allows readers to recognize the valuable functionalities offered by Xtext. This book is well-recommended to all readers want to deeply understand DSL implementation and the multiple and precious features of Xtext. There are no discussion topics on this book yet.
Goodreads is hiring! If you like books and love to build cool products, we may be looking for you. About Lorenzo Bettini.
Lorenzo Bettini. Books by Lorenzo Bettini. As dedicated readers already know, some of the best and most innovative stories on the shelves come from the constantly evolving realm of young ad Read more Trivia About Implementing Doma No trivia or quizzes yet. Welcome back. Just a moment while we sign you in to your Goodreads account.
Implementing Domain-Specific Languages with Xtext and Xtend
By Lorenzo Bettini. This book is targeted at programmers and developers who want to create a DSL with Xtext. They should have basic familiarity with Eclipse and its functionality. Previous experience with compiler implementation can be advantageous. However, this book will explain all the development stages of a DSL. All rights reserved.
Implementing Domain-Specific Languages with Xtext and Xtend - Second Edition
So when I was contacted by the publisher to write a review of the second edition I was very happy to accept the offer. Thank you to the author, Lorenzo Bettini , for listing me as a possible reviewer of his work! In a few words: precise answers to advanced questions. The specific chapters on testing and continuos integration are also great to have in this book, in my opinion. I think this book is enough to go from knowing nothing about Xtext to build reasonably complex projects. I think that the best way to use this book for a newbie is to complement it with other books about language design or specifically on DSLs. You may want to check the list I wrote here.