Home | Amazing | Today | Tags | Publishers | Years | Account | Search 
Implementing Domain-Specific Languages with Xtext and Xtend

Buy

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.

Overview

  • Learn to quickly develop a domain-specific language with Xtext
  • Implement any aspect of a DSL using Xtend, a fully featured Java-like programming language
  • Discover how to test a DSL implementation and how to customize runtime and IDE aspects of the DSL

In Detail

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.

What you will learn from this book

  • 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

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.

(HTML tags aren't allowed.)

Multimedia Security : Steganography and Digital Watermarking Techniques for Protection of Intellectual Property
Multimedia Security : Steganography and Digital Watermarking Techniques for Protection of Intellectual Property
Multimedia security has become a major research topic, yielding numerous academic papers in addition to many watermarking-related companies. In this emerging area, there are many challenging research issues that deserve sustained studying towards an effective and practical system. Multimedia Security: Steganography and Digital Watermarking...
Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform
Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform

The only thing which is not constant is change; change provides new ideologies and methodologies for getting things done in more efficient and cost-effective ways. We all have been seeing a drastic shift of industry where every single product and IT system being supported is migrated to a virtualized server platform also known as a virtual...

Neurological Disorders due to Systemic Disease
Neurological Disorders due to Systemic Disease

Edited by
Steven L Lewis, MD, Department of Neurological Sciences, Rush University Medical Center, Chicago, Illinois, USA

How do you identify which neurologic syndromes occur due to systemic disease? 

Neurological problems commonly occur in the context of underlying systemic disease, and may...


Macromedia Dreamweaver MX Fast & Easy Web Development
Macromedia Dreamweaver MX Fast & Easy Web Development
While the Web was still in its infancy, the technologies used to deliver it were
always changing. I remember a time when I had to hand-code every page in a Web
site. At that time, a Web site was just a couple of static pages. Still, dealing with raw
HTML tags was not very pleasant. A few WYSIWYG (What You See Is What You Get)...
Cross-Platform Development in C++: Building Mac OS X, Linux, and Windows Applications
Cross-Platform Development in C++: Building Mac OS X, Linux, and Windows Applications

As the Hypertext Markup Language / Extensible Markup Language / Cascading Style Sheets (HTML/XML/CSS) parsing and rendering engine for the Firefox, Mozilla, and Netscape browsers, Gecko is one of the most widely deployed cross-platform rendering engines in the world.

As both a Netscape engineer and later as the development
...

Past, Present and Future of Research in the Information Society
Past, Present and Future of Research in the Information Society
Past, Present and Future of Research in the Information Society examines the role of research and the production of knowledge in the information society, with special emphasis on developing areas of the world.

Past, Present and Future of Research in the Information Society is based on a three day conference...

©2020 LearnIT (support@pdfchm.net) - Privacy Policy