jbeard4 / SCION

SCXML/Statecharts in JavaScript, moved to gitlab: https://gitlab.com/scion-scxml/scion
https://scion.scxml.io
Apache License 2.0
149 stars 29 forks source link

Support exmode and expose an API for manual control over this #306

Open jbeard4 opened 9 years ago

jbeard4 commented 9 years ago

By default we want to warn the user about compile-time errors, and replace these errors with <raise> elements that raise runtime errors. This is necessary in order to conform with the spec.

We would also like to support exmode=strict which would cause the compiler to stop execution if it finds errors at compile-time.

Relates to #305 and #191