Category:YAMLScript: Difference between revisions
YAMLScript Overview update
(Updated YAMLScript description) |
(YAMLScript Overview update) |
||
Line 5:
{{implementation|Lisp}}
'''YAMLScript''' is a new programming language that uses YAML as its syntax. It is a complete, functional, general purpose language, but can also be easily embedded in YAML files to make them dynamic at load time. Most existing YAML files and all JSON files are already valid YAMLScript programs. YAMLScript has a compiler/interpreter CLI program called <code>ys</code> and
* [https://metacpan.org/pod/YAMLScript Perl]
* [https://pypi.org/project/yamlscript/ Python]
* [https://raku.land/zef:ingy/YAMLScript Raku]
* [https://rubygems.org/gems/yamlscript Ruby]
* [https://crates.io/crates/yamlscript Rust]
==Installing YAMLScript==
Line 11 ⟶ 17:
Run this command to install the <code>ys</code> command line YAMLScript runner/loader/compiler program.
curl -s https://yamlscript.org/install
That will install <code>$HOME/bin/ys</code>. If <code>$HOME/bin</code> is not in your <code>PATH</code>, run:
Line 26 ⟶ 32:
-r, --run Compile and evaluate a YAMLScript file (default)
-l, --load Output the evaluated YAMLScript value
-e, --eval YSEXPR Evaluate a YAMLScript expression
...
See https://yamlscript.org for more information.
|