CannonML (Cannon Macro Language) provides a Flash shumps pattern generator represented in very very short text.
Nomltest on Flash is the best example what CannonML can do.
Try cannonML workbench in browser(Press [Language] to change language).
This quite cryptic script is used here.
Basic tutorials are in workbench.
More informations are in the language reference(Japanese).
And anthor cannonML script for whole stage, copy and paste it on workbench to start game.