{"id":28002233,"url":"https://github.com/daantimmer/yahsmg","last_synced_at":"2026-04-27T20:31:40.365Z","repository":{"id":175274651,"uuid":"423757059","full_name":"daantimmer/YAHSMG","owner":"daantimmer","description":"Based on https://accu.org/journals/overload/12/64/heinzmann_252/","archived":false,"fork":false,"pushed_at":"2021-11-03T11:02:20.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-09T00:16:46.584Z","etag":null,"topics":["cpp","hsm","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daantimmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-11-02T08:10:45.000Z","updated_at":"2023-10-11T14:33:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee430b91-0a23-4c76-84a4-44b67b60ac09","html_url":"https://github.com/daantimmer/YAHSMG","commit_stats":null,"previous_names":["daantimmer/yahsmg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daantimmer/YAHSMG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daantimmer%2FYAHSMG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daantimmer%2FYAHSMG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daantimmer%2FYAHSMG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daantimmer%2FYAHSMG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daantimmer","download_url":"https://codeload.github.com/daantimmer/YAHSMG/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daantimmer%2FYAHSMG/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32354566,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","hsm","python"],"created_at":"2025-05-09T00:16:44.984Z","updated_at":"2026-04-27T20:31:40.351Z","avatar_url":"https://github.com/daantimmer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YAHSMG\r\nYet Another Hierarchical State Machine Generator\r\n\r\nYAHSMG is build around Stefan Heinzmann's HSM and plantuml to generate C++ code.\r\n\r\n# How to use\r\nThis has only been tested on Windows, but should work on Linux and MacOs as well.\r\nExecute the generator python module like: `python generator \u003cfolder/file\u003e`\r\nWhen a folder is given it'll traverse all subdirectories in search for *.puml files.\r\nFor any file found it'll create a directory Generated in that file's folder and create a `\u003cdiagram nam\u003e_HSM.hpp` and `\u003cdiagram nam\u003e_HSM.cpp` file.\r\nAdd the `resources` folder to your include search path.\r\n\r\n# Stefan Heinzmann's HSM\r\nThe heart of the HSM is Stefan heinzmann's HSM. This HSM has been modernized and made 'more modern C++ like'. See https://accu.org/journals/overload/12/64/heinzmann_252/ for more information.\r\n\r\n# Things to do\r\n- Plantuml supports generating images from any file, not only plantuml-specific files. For example you can have your plantuml diagram written in a source's header file. The diagram finder logic will now only search for `.puml` files, but a near future improvement will give the user the possibility to specify what extensions to look for.\r\n- Create example implementations\r\n- Create C++ unit test\r\n- Allow specifying which templates to use\r\n- Allow custom template folder\r\n\r\n# Limitations\r\nYAHMSG currently does not support features like `History`/`Fork`/`Concurrent`/`\u003c\u003cchoice\u003e\u003e`/`Stereotyes`/`Point`/`Pin`/`Expansion` features provided by plantuml. Any plantuml markup is also not supported. Some of these might be solved in later versions.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaantimmer%2Fyahsmg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaantimmer%2Fyahsmg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaantimmer%2Fyahsmg/lists"}