Re:Intercal, YAML, and Other Horrible Programming Languages
by irgeek on Friday February 26, 2021 @08:15AM
(#26274412)
To be fair, this is just how executable scripts work — it’s not a special yaml shebang, just a regular shebang for an executable that happens to take yaml files as it’s input. The underlying OS just invokes the command in the shebang and passes the file as the first parameter, exactly as it would if the shebang were for bash or python.
Re:Intercal, YAML, and Other Horrible Programming Languages
by CyberDildonics on Friday February 26, 2021 @10:03AM
(#26275427)
I never thought I would see the day when someone "discovers" the way shell scripts were intentionally designed 40 years ago. This is why perl and later python uses # for comments.
example my-app.yaml
after making my-app.yaml executable you can now invoke the application's config to reconcile itself obviously this is just a simple example but there is come really cool potential here.