Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add generator CLI to domainmodel and statemachine examples #131

Closed
spoenemann opened this issue Jun 25, 2021 · 0 comments · Fixed by #160 or #171
Closed

Add generator CLI to domainmodel and statemachine examples #131

spoenemann opened this issue Jun 25, 2021 · 0 comments · Fixed by #160 or #171
Assignees
Labels
examples Issue about one of the included example packages
Milestone

Comments

@spoenemann
Copy link
Contributor

We should add a CLI (similar to #121) to each of the domainmodel and statemachine examples. These should generate code from an input file. The target language is open for discussion.

My proposals:

  • domainmodel — generate Java classes with private fields and corresponding getters and setters.
  • statemachine — generate C code with a main function that reads from stdin and prints state transitions according to the events entered by the user.

This issue depends on #122: we should finalize the generator API before adding more uses of it.

This was referenced Jul 2, 2021
@spoenemann spoenemann added this to the v0.2.0 milestone Sep 15, 2021
@spoenemann spoenemann added the examples Issue about one of the included example packages label Sep 22, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
examples Issue about one of the included example packages
Projects
None yet
2 participants