next up previous contents
Next: 3.2.1 Python code synthesis Up: 3. CODE SYNTHESIS WITH Previous: 3.1 SCC Command-line Parameters   Contents

3.2 HelloWorld Example

The same HelloWorld example as discussed in the SVM chapter is used here. It is compiled into source code in different target languages. The readers may compare the result of their executions with the simulation result shown previously.

DESCRIPTION: # description of the model
    Hello World Example

STATECHART:  # definition of the state hierarchy
    A [DS]
    B [FS]

TRANSITION:  # one single transition
    S: A
    N: B
    E: e
    O: [DUMP("Hello World!")]



Subsections

Thomas Huining Feng
2004-04-05