Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Mar 4, 2012
  1. Parser and compiler now use CoreParse error handling features to retu…

    …rn sensible error information about syntax and unexpected token errors.
Commits on Feb 6, 2012
  1. Re-implemented the way the underlying GCD queue is used, all event me…

    …thods now dispatch to the queue.
Commits on Feb 2, 2012
  1. Added a very quick GraphViz file builder that outputs a DAG of the ma…

    …chine in GV format and, if "dot" is available converts it into a PNG file.
    Added the -g command line option to generate graphs.
  2. Some cleanup of how names are treated throughout the compiler.

    Leading to a simplification of the code as naming responsibilities are transferred from the compiler to objects referred to.
    In general more things are referenced as objects rather than string based names.
  3. Small fix to the README

Commits on Feb 1, 2012
  1. Better to actually not rewrite the user file if we say we're not goin…

    …g to.
    Added stub enter/exit methods since the user asked for them :)
  2. Added a README

  3. Added a convenience method for adding properties to classes.

    Compilation units now have the concept of a "principal class".
    Added a convenience constuctor to properties for setting their attributes.
    Compiler now generates the "user" machine class as well as the "generated" machine class.
    The "main" driver now works as a real utility.
Commits on Jan 31, 2012
  1. Generate the machine as _Foo rather than Foo. We'll generate an outli…

    …ne user machine Foo in the future.
    Added a dispatch queue as a locking mechanism to serialise state changes.
  2. Class builder outputs class methods.

    Compilation units can have forward class declarations.
    Proper tests for method scope.
    Easier append to a statement group.
    Better modularisation of the compiler so far.
  3. Further extensions of the builder to make it easier to build statemen…

    …ts and handle conditionals.
    More extensions to the class builder.
    The Compiler now generates a State class and subclasses for each state with a static point to an instance of each state subclass.
    The Machine's event methods are now implemented by checking for an equivalent method on the current state subclass and invoking it.
  4. CompilationUnit now generates class & header files, imports, and types.

    Compiler now generates a CU, implements a typedef for the state and has the machine class use it.
  5. Further changes to the builder.

  6. Compiles a map of state to state transitions.

    Generates a method for each event.
    We're kind of close to having something, just one difficult bit to go.
  7. Added a parser for the Statec mini-language using CoreParse.

    Added the beginning of a compiler from the StatecMachine to a StatecClass.
Commits on Jan 30, 2012
  1. Initial Commit

Something went wrong with that request. Please try again.