Create Domain-Specific Language and Syntax Checker Using Xtext
DOI:
https://doi.org/10.9744/jirae.4.1.26-32Keywords:
Domain-Specific Language, Syntax Checker, Parser, Xtext, EclipseAbstract
ASML is a company that manufactures the TWINSCAN machine that can produce semiconductor chips. This machine has a TWINSCAN software installed inside it and that software needs mapping configuration files to keep it running properly. The configuration files are developed by developers from many departments within ASML. However, the development process of the configuration files is ineffective, as the developers will know if there is any defect in the source code only in the late part of the development after all files have been committed into the TWINSCAN software’s source code archive. It would be better if the developers know if there is any invalid syntax in the configuration files when they are still creating or editing the files, so they can fix the defects immediately before the files are uploaded into the source code archive. The main purpose of this research is to develop a Domain-Specific Language (DSL) based on the structure of the configuration files, and a syntax checker application that can check the mapping configuration files for the TWINSCAN machine during the creation or editing phase of those files by the developers. The development of the DSL and syntax checker would be done using Xtext framework installed in Eclipse Integrated Development Environment (IDE). The final results show that the DSL and the syntax checker developed using Xtext can detect any invalid syntax during the development phase of the configuration files, so the developers can fix the defects directly, thus solving the company’s problem.
Downloads
Published
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and publishing right, and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) followingthe publication of the article, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).