Overview
ShockScript is a strongly typed, multi-paradigm scripting language.
Note: The document is a work-in-progress, and may lack content.
E4X
ShockScript is mixed with the eXtensible Markup Language (XML), based on the legacy ECMAScript for XML (E4X) extension. It is, in addition, suitable for implementing reactive UI components.
For the Whack Engine, E4X literals may create Whack DS nodes in addition to the E4X data types.
Event model
ShockScript incorporates a basic event model and allows easily declaring event types and documenting them. Implementations may extend the event model for working with a Document Object Model.
ShockDoc comments
ShockScript supports documentation comments allowing for Markdown notation, special tags such as @throws and media inclusion.
Abbreviation
ShockScript is abbreviated as SX and uses the conventional file extension “.sx”.