Skip to content

This is an example how to develop a custom code generator for itemis CREATE

License

Notifications You must be signed in to change notification settings

itemisCREATE/custom-generator-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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'

About

This is an example how to develop a custom code generator for itemis CREATE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published