SinelaboreRT Header Logo

SinelaboreRT

It's better when it's simple!

User Tools

Site Tools


wiki:news:5sep2014

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:news:5sep2014 [2014/09/05 18:46]
pmueller
wiki:news:5sep2014 [2014/09/05 18:53] (current)
pmueller
Line 1: Line 1:
 ====== Swift backend added ====== ====== Swift backend added ======
-===== Overview ===== 
  
-Swift is a new object-oriented programming language for iOS and OS X development. To generate Swift code call the code generator with the command line flag ''​−l swift''​ . To gener- ate a configuration file with all parameters related to the Swift code generation call the code generator as follows once: ''​java −jar codegen.jar −l swift −gencfg > codegen.cfg''​ .+{{:​wiki:​news:​apple_swift_logo.png?​nolink&​100 |}}[[https://​en.wikipedia.org/​wiki/​Swift_(programming_language)|Swift]] is a new object-oriented programming language for iOS and OS X development. To generate Swift code call the code generator with the command line flag ''​−l swift''​ . To gener- ate a configuration file with all parameters related to the Swift code generation call the code generator as follows once:  
 + 
 +''​java −jar codegen.jar −l swift −gencfg > codegen.cfg''​ .
  
 The events that can be sent to the machine are defined in a public enumeration. The events that can be sent to the machine are defined in a public enumeration.
Line 23: Line 24:
   * Hand written code is located in a child class of the state machine. I.e. the state machine classes are parts of other classes.   * Hand written code is located in a child class of the state machine. I.e. the state machine classes are parts of other classes.
  
-=== Supported state machine features ===+==== Supported state machine features ​====
   * States and sub-states   * States and sub-states
   * Deep - and flat hierarchy   * Deep - and flat hierarchy
Line 31: Line 32:
   * Choice pseudo-states   * Choice pseudo-states
  
-== Example Design and Generated Code ==+==== Example Design and Generated Code ====
 {{:​wiki:​news:​swift_state_machine.png?​nolink |}} {{:​wiki:​news:​swift_state_machine.png?​nolink |}}
 {{:​wiki:​news:​swift_testcase.swift|}} {{:​wiki:​news:​swift_testcase.swift|}}
wiki/news/5sep2014.txt · Last modified: 2014/09/05 18:53 by pmueller