Implementing Domain:Specific Languages with Xtext and Xtend
Lorenzo Bettini更新时间:2021-08-13 16:26:33
最新章节:Index封面
版权信息
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Chapter 1. Implementing a DSL
Domain Specific Languages
Implementing a DSL
IDE integration
Enter Xtext
The aim of this book
Summary
Chapter 2. Creating Your First Xtext Language
A DSL for entities
The Xtext generator
The Eclipse Modeling Framework (EMF)
Improvements to the DSL
Summary
Chapter 3. The Xtend Programming Language
An introduction to Xtend
Xtend – a better Java with less "noise"
Debugging Xtend code
Summary
Chapter 4. Validation
Validation in Xtext
Quickfixes
Summary
Chapter 5. Code Generation
Introduction to code generation
Writing a code generator in Xtend
Integration with the Eclipse build mechanism
Standalone command-line compiler
Summary
Chapter 6. Customizations
Dependency injection
Google Guice in Xtext
Customizations of IDE concepts
Custom formatting
Other customizations
Summary
Chapter 7. Testing
Introduction to testing
Junit 4
The ISetup interface
Implementing tests for your DSL
Test suite
Testing the UI
Testing and modularity
Clean code
Summary
Chapter 8. An Expression Language
The Expressions DSL
The grammar for the Expressions DSL
Left recursive grammars
Forward references
Typing expressions
Writing an interpreter
Summary
Chapter 9. Type Checking
SmallJava
First validation rules
Type checking
Improving the UI
Summary
Chapter 10. Scoping
Cross-reference resolution in Xtext
Custom scoping
Global scoping
Providing a library
Dealing with super
What to put in the index?
Additional automatic features
Summary
Chapter 11. Building and Releasing
Release engineering
Introduction to Buckminster
Using the Xtext Buckminster wizard
Maintaining the examples of this book
Summary
Chapter 12. Xbase
Getting introduced with Xbase
The Expressions DSL with Xbase
The Entities DSL with Xbase
Customizations
Summary
Chapter 13. Bibliography
Index
更新时间:2021-08-13 16:26:33