Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

MINT-scxml

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

MINT-scxml

  • 1.1.7
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

= MINT Statemachine SCXML parser

  • http://www.multi-access.de

== DESCRIPTION:

This gem implements all core constucts of the state chart XML (SCXML) specification of the W3C. (http://www.w3.org/TR/scxml/)

Instead of implementing an interpreter, this gem implements a parser that create a ruby statemachine instance based on the MINT-statemachine gem (https://github.com/sfeu/statemachine).

== FEATURES/PROBLEMS:

We currently do not support the definition of a data model. Instead the ruby class that contains the statemachine instance can be used to store data. Conditions can be defined using ruby inside the SCXML definition and member functionc can be called using SCXML script or invoke.

== EXAMPLE:

Parses an SCXML string and creates a statemachine instance in @sm. The messenger object can be used to capture the SCXML log messenges (using the log statement).

@messenger = mock("messenger" )

parser = StatemachineParser.new(nil,@messenger)

scxml = <<EOS
EOS
      @sm = parser.build_from_scxml_string scxml
      @sm.reset

See tests

== REQUIREMENTS:

== INSTALL:

  • sudo gem install MINT-scxml

== LICENSE:

Copyright (C) 2010-2013 Sebastian Feuerstack, Jessica H. Colnago

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

FAQs

Package last updated on 19 Jul 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc