The Shortcuts app in iOS 12 seems really powerful, comparable to a minimal weakly-typed scripting language. So I'm wondering whether there is an AppleScript-like way to program it, instead of dragging and dropping those blocks.
If not, will anyone be interested in some sort of tool that converts source code (in, say, a subset of Python or Bash) to Shortcuts program?