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 In Detail 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. Table of Contents Chapter 1: Implementing a DSL Chapter 2: Creating Your First Xtext Language Chapter 3: Working with the Xtend Programming Language Chapter 4: Validation Chapter 5: Code Generation Chapter 6: Customizing Xtext Components Chapter 7: Testing Chapter 8: An Expression Language Chapter 9: Type Checking Chapter 10: Scoping Chapter 11: Continuous Integration Chapter 12: Xbase Chapter 13: Advanced Topics Chapter 14: Conclusions
2023-03-31 10:19:01 6.17MB Domain Specific Languages Xtext
1
使用Xtext和Xtend来开发特定领域语言.包括实现IDE编辑环境(语法高亮,快速更正,语法检查等),实现独立的编译器
2022-11-19 16:26:17 636KB 文档资料
1
使用Xtext和Xtend来开发特定领域语言.包括实现IDE编辑环境(语法高亮,快速更正,语法检查等),实现独立的编译器
2022-11-19 16:24:40 886KB 文档资料 ide
1
使用Xtext和Xtend来开发特定领域语言.包括实现IDE编辑环境(语法高亮,快速更正,语法检查等),实现独立的编译器
2022-11-19 16:22:38 603KB 文档资料 ide
1
走eclipse的商店或者更新只能下载的最新版本的插件,有些依赖必须老版本的。
2022-06-14 21:40:47 40.43MB eclipse protobuf 插件
1
Discover ways to implement a DSL with Xtext and Xtend utilizing easy-to-understand examples and finest practices Xtext is an open supply Eclipse framework for implementing domain-specific languages along with IDE functionalities. It permits you to implement languages actually rapidly; most of all, it covers all facets of an entire language infrastructure, together with the parser, code generator, interpreter, and extra.This ebook will allow you to implement Area Particular Languages (DSL) effectively, along with their IDE tooling, with Xtext and Xtend. Opening with temporary protection of Xtext options concerned in DSL implementation, together with integration in an IDE, the ebook will then introduce you to Xtend as this language can be utilized in all of the examples all through the ebook. You'll then discover the standard programming growth workflow with Xtext once we modify the grammar of the DSL.Additional, the Xtend programming language (a fully-featured Java-like language tightly built-in with Java) can be launched. We then clarify the principle ideas of Xtext, corresponding to validation, code era, and customizations of runtime and UI facets. You should have realized the best way to take a look at a DSL applied in Xtext with JUnit and can progress to superior ideas corresponding to sort checking and scoping. You'll then combine the standard Steady Integration techniques in-built to Xtext DSLs and familiarize your self with Xbase. By the tip of the ebook, you'll manually keep the EMF mannequin for an Xtext DSL and can see how an Xtext DSL may also be utilized in IntelliJ.What You Will Be taught,解压密码 share.weimo.info
2021-10-29 10:46:54 4.94MB 英文
1
使用Xtext和Xtend来开发特定领域语言.包括实现IDE编辑环境(语法高亮,快速更正,语法检查等),实现独立的编译器
2021-08-07 11:02:39 3.71MB 域特定语言 java
1
使用Xtext和Xtend来开发特定领域语言.包括实现IDE编辑环境(语法高亮,快速更正,语法检查等),实现独立的编译器
2021-08-07 11:02:39 3.64MB 域特定语言 java
1
Implementing Domain Specific Languages with Xtext and Xtend(2nd) 英文无水印pdf 第2版 pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
2021-05-18 10:05:18 31.99MB Implementing Domain Specific Languages
1
使用Xtext和Xtend来开发特定领域语言.包括实现IDE编辑环境(语法高亮,快速更正,语法检查等),实现独立的编译器
2021-05-18 09:35:44 399KB 域特定语言
1