Category:YAMLScript

This programming language may be used to instruct a computer to perform a task.
Official website |
---|
See Also: |
|
---|
YS (aka 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 YS programs.
You can learn YS for free (with help from experienced mentors) at Exercism.
YS has a compiler/interpreter CLI program called ys
and is also available in several programming languages as a binding module to the libyamlscript.so
shared library:
Installing YS
Run this command to install the ys
command line YS runner/loader/compiler binary.
curl -s https://yamlscript.org/install | bash
That will install $HOME/.local/bin/ys
. If $HOME/.local/bin
is not in your PATH
, run:
export PATH=$HOME/.local/bin:$PATH
Test the new installation:
$ ys --help ys - The YS Command Line Utility Usage: ys [options] [file] Options: -r, --run Compile and evaluate a YS file (default) -l, --load Output the evaluated YS value -e, --eval YSEXPR Evaluate a YS expression ...
See https://yamlscript.org for more information.
Pages in category "YAMLScript"
The following 16 pages are in this category, out of 16 total.