瀏覽代碼

Add notes about SCCD's future

Joeri Exelmans 4 年之前
父節點
當前提交
8f3d024f1c
共有 1 個文件被更改,包括 29 次插入0 次删除
  1. 29 0
      notes.txt

+ 29 - 0
notes.txt

@@ -0,0 +1,29 @@
+Notes about the future of SCCD
+==============================
+
+Long-term vision:
+
+  - run SCCD in web browsers
+    - through supporting JavaScript (or TypeScript) as:
+        - a port of the runtime
+        - a target language
+    - through supporting C as target language, and compiling to WebAssembly
+
+  - dynamic creation/destruction of instances (the "CD" part of SCCD)
+
+  - graphical editing of statecharts
+    - most likely in diagrams.net ("drawio")
+        - convert drawio (XML) models to SCCDXML
+        - statechart editing plugin
+
+  - code generation
+    - generating portable C code may be the most flexible option:
+      - compile to WebAssembly
+      - call from Python, Java, ...
+
+  - improve statechart "interface" definition: in/out event, variables (+ observers?), functions, objects
+    -> YAKINDU as inspiration
+
+  - testing framework
+     - support white-box testing
+     - more expressive test models (like YAKINDU's SCTUNIT)