This is possible because JS is consistent about its use of structural symbols. And the structure of the language maps well on outline structure. Not perfectly, but enough to make it worth using.
- The difficult construct is if-then-else. All other statements have a single summit but it has two.
It’s not ready for other people to use yet but it will be soon, Murphy-willing! 🙂
Update: This capability is now available in the worldoutline software, released today.