Event Modeling in HCL specs
Announcing a .em.hcl language spec for Event Modeling.
It lets people document their event models as code.
Yes, there are currently projects like:
yaml: https://www.esdm.io/ https://emlang-project.github.io/ json: https://github.com/dilgerma/event-modeling-spec So you might ask why HCL?
I see it this way:
For this project, the block form is useful because the source resembles the concepts being discussed.
My personal motivation was:
I want a schema in a language I can easily edit by hand; sorry to Mermaid diagrams, but they are NOT human-friendly for event modeling The JSON spec is also not something I am willing to write by hand I want to store it in a git repo And I want it to be rendered as a nice HTML event model that can live on GitLab/GitHub Pages as my system documentation.


