Show HN: CXXStateTree – A modern C++ library for hierarchical state machines https://ift.tt/mdJsFlg

Show HN: CXXStateTree – A modern C++ library for hierarchical state machines Hi HN! I've built [CXXStateTree]( https://ift.tt/v79Zrwf ), a modern C++ header-only library to create hierarchical state machines with clean, intuitive APIs. It supports: - Deeply nested states - Entry/exit handlers - State transitions with guards and actions - Asynchronous transitions with `co_await` (C++20 coroutines) - Optional runtime type identification for flexibility It's ideal for complex control logic, embedded systems, games, robotics, and anywhere you'd use a finite state machine. I’d love feedback, use cases, or contributions from the community! Repo: https://ift.tt/v79Zrwf https://ift.tt/v79Zrwf July 7, 2025 at 01:06PM

Komentar

Postingan populer dari blog ini

Show HN: Guish – A GUI for constructing and executing Unix pipelines https://ift.tt/HrXz5ub

Twin Peaks for All: Survey Results

History in Motion: New Photos from the 1960s to 1980s Now Online