CannonML (Cannon Macro Language) provides a Flash shmups 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 is a port of Keim's great CannonML to Haxe.
At the moment, most everything works to the point where NomlTest works!
This quite cryptic script is used here.
Basic tutorials are in workbench.
More informations are in the language reference(Japanese).
And another cannonML script for whole stage, copy and paste it on workbench to start game.
To install, run 'haxelib install cannonml'. Then add '<haxelib name="openfl-ouya" />' to your project.xml.