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.

Close

SMC v. 6.1.0: JavaScript Added.

SMC v. 6.1.0

SMC - The State Machine Compiler v. 6.1.0

Major changes:

(JavaScript)
-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)

(All)
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)

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

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

Bug Fixes:

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

(All)
Corrected debug output to correctly report BEFORE ENTRY and
AFTER ENTRY state.
(SF bug 2972608)

(All)
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)

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

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

(All)
Text error in SmcLexer.sm corrected.
(SF bug 3436635)

++++++++++++++++++++++++++++++++++++++++

If you have any questions or bugs, please surf
over to http://smc.sourceforge.net 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