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
欢迎来到弗兰卡! Franca是用于定义和转换软件接口的强大框架。 它用于集成来自不同供应商的软件组件,这些组件是基于各种运行时框架,平台和IPC机制构建的。 它的核心是Franca IDL (接口定义语言),这是用于API规范的文本语言。 迁移到github 在您阅读本文时,已经完成了Franca主页和git存储库到github的迁移。 EclipseLabs上的旧页面仍然可用(至少是其中的一部分),但很快就会切换为只读。 请从github仓库克隆或派生,并使用Franca的github站点上可用的问题跟踪器。 Franca文档和主页 可获得最新的《 Franca用户指南》(包括IDL的参考章节)。 有关Franca的更多信息,请参见: : 以及的Wiki。 弗兰卡功能 由于Franca基于Eclipse,因此有一些功能强大的工具可用于Franca。 最重要的是,Franca提供
2022-07-22 14:31:11 4.36MB Xtend
1
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
2022-01-03 17:01:42 6KB rpm
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
2022-01-03 17:01:42 6KB rpm
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
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
使用Xtext和Xtend来开发特定领域语言.包括实现IDE编辑环境(语法高亮,快速更正,语法检查等),实现独立的编译器
2021-05-18 09:34:40 502KB 域特定语言
1
了解如何使用易于理解的示例和最佳实践,使用xtext和Xtend来实现DSL。
2021-05-18 09:33:20 609KB 域特定语言
1
使用Xtext和Xtend来开发特定领域语言.包括实现IDE编辑环境(语法高亮,快速更正,语法检查等),实现独立的编译器
2021-05-18 09:32:22 632KB 域特定语言
1