Better HN
topnewbestaskshowjobs
Log inSign up

zzglenm

71 karma · joined Jul 31, 2015 (11y ago) · 7 submissions

Submissions

comment 7y ago · link · parent

I have worked with generative hierarchical state machine engines for years, mostly for medical devices. It's relatively easy to "roll your own" finite state machine, but it gets unwieldy quickly for anything other than the most basic problem. The two classic approaches, tables and nested switch statements are hard to read. You need a drawing, and one from which executable code is generated.

Hierarchical state machine drawings are the way to go but it's generally not practical to build one on your own. That said, I wrote my own anyway: OOSMOS, the Object-Oriented State Machine Operating System (https://www.oosmos.com). It generates object oriented C from a state chart drawn with the open source drawing tool UMLet. OOSMOS is open source.

2.

OOSMOS 2.0: The Object-Oriented State Machine Operating System(oosmos.com ↗)

2 points · by zzglenm · 7y ago · discuss

comment 11y ago · link · parent

Not open source but this is an excellent free drawing tool that lets you draw very good looking state charts: http://www-03.ibm.com/software/products/en/ratimode

comment 11y ago · link · parent

http://oosmos.com/tools-used#id_UmLet

5.

OOSMOS, the Object Oriented State Machine Operating System, Is Now Open Source(oosmos.com ↗)

83 points · by zzglenm · 11y ago · 23 comments

6.

OOSMOS – The Object-Oriented State Machine Operating System(oosmos.com ↗)

43 points · by zzglenm · 11y ago · 8 comments

7.

OOSMOS – The Object-Oriented State Machine Operating System(oosmos.com ↗)

5 points · by zzglenm · 11y ago · discuss