Skip to content

Latest commit

 

History

History
18 lines (8 loc) · 971 Bytes

README.md

File metadata and controls

18 lines (8 loc) · 971 Bytes

Custom Code Generator for itemis CREATE Example

itemis CREATE (formerly YAKINDU Statechart Tools) is shipped with powerful code generators for most common programming languages like C, C++, C#, Java™, and Python. There are also generators available for SCXML and others. But sometimes it maybe necessary to create a custom code generator to support custom frameworks. You can use this example to kick-start your custom generator project.

Setup

  • Import the project 'org.yakindu.generator.custom' into your workspace. Since the Generator is written in Xtend, you need an Eclipse with Xtext SDK installed. (I used Eclipse 2020-12 with Xtext 2.24)
  • Open file 'latest.target' and set it as active target platform.
  • Right click the project and select 'Run As -> Eclipse Application'
  • In the runtime workspace, import the project 'Example'
  • Right-click the file 'Genmodel.sgen' and select 'Generate Code Artifacts'