Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


SMC v. 6.1.0: JavaScript Added.

SMC v. 6.1.0

SMC - The State Machine Compiler v. 6.1.0

Major changes:

-js command line option added which generates JavaScript code
from the compiled .sm file.
(SF feature 3031739)

Minor changes:

(C, C++, Objective-C)
%access keyword to specify the generated class access level.
Now supported by C, C++ and Objective-C.
(SF feature 2797126)

(C, C++, Objective-C)
Added -hsuffix command line option which defines the header
file suffix.
(SF feature 3162390)

Added %fsmclass keyword which allows the generated FSM
classes to have a name other than the default
<app class>Context. This feature allows an application class
to reference multiple finite state machines.
(SF feature 2718941)

(C#, Groovy, Java, Lua, Perl, PHP, Python, Ruby, Scala, Tcl and VB.Net)
Added "getStates" method for retrieving the finite state
machine's states.
(SF features 2718892, 1734959)

Added Programmers Manual, section 13 to better describe SMC
% directives.
(SF feature 3366065)

Added PDF document ./docs/SMC_Report.pdf which provides an
in-depth and readable overview of SMC capabilities and

Bug Fixes:

The state map identifier generator is reset to zero for each
state map.
(SF bug 2948932)

Corrected debug output to correctly report BEFORE ENTRY and
(SF bug 2972608)

Corrected compiler error caused by state names containing
only lower-case letters.
(SF bug 3001108)

(C, C++, Objective-C)
Corrected -headerd being incorrectly set.
(SF bug 3002846)

The previous state is now correctly set.
(SF bug 2918863, 3014876)

The JavaScript file statemap.js included in the release.
(SF bug 3436664)

Text error in corrected.
(SF bug 3436635)


If you have any questions or bugs, please surf
over to and check out
the discussion and bug forums. Note: you must be
a SourceForge member to add articles or bugs. You
do not have to be a member to read posted
articles or bugs.

Posted by Charles Rapp 2011-11-20