Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
|
|
@ -4,8 +4,11 @@
|
|||
{{language programming paradigm|hosted}}
|
||||
{{implementation|Lisp}}
|
||||
|
||||
'''YAMLScript''' is a new programming language that uses [https://yaml.org/ 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 is also available in several programming languages as a binding module to the <code>libyamlscript.so</code> shared library:
|
||||
'''[https://yamlscript.org YAMLScript]''' is a new programming language that uses [https://yaml.org/ 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>[https://github.com/yaml/yamlscript/releases ys]</code> and is also available in several programming languages as a binding module to the <code>[https://github.com/yaml/yamlscript/releases libyamlscript.so]</code> shared library:
|
||||
|
||||
* [https://clojars.org/org.yamlscript/clj-yamlscript Clojure]
|
||||
* [https://clojars.org/org.yamlscript/yamlscript Java]
|
||||
* [https://www.npmjs.com/package/@yaml/yamlscript NodeJS]
|
||||
* [https://metacpan.org/pod/YAMLScript Perl]
|
||||
* [https://pypi.org/project/yamlscript/ Python]
|
||||
* [https://raku.land/zef:ingy/YAMLScript Raku]
|
||||
|
|
@ -16,21 +19,23 @@
|
|||
|
||||
Run this command to install the <code>ys</code> command line YAMLScript runner/loader/compiler program.
|
||||
|
||||
curl -s https://yamlscript.org/install | PREFIX=$HOME BIN=1 bash
|
||||
curl -sSL yamlscript.org/install | bash
|
||||
|
||||
That will install <code>$HOME/bin/ys</code>. If <code>$HOME/bin</code> is not in your <code>PATH</code>, run:
|
||||
That will install <code>$HOME/.local/bin/ys</code>. If <code>$HOME/.local/bin</code> is not in your <code>PATH</code>, run:
|
||||
|
||||
export PATH=$HOME/bin:$PATH
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
|
||||
Test the new installation:
|
||||
$ ys --help
|
||||
ys - The YAMLScript (YS) Command Line Tool
|
||||
|
||||
$ ys --help
|
||||
ys - The YAMLScript (YS) Command Line Tool
|
||||
|
||||
Usage: ys [options] [file]
|
||||
Usage: ys [options] [file]
|
||||
|
||||
Options:
|
||||
-r, --run Compile and evaluate a YAMLScript file (default)
|
||||
-l, --load Output the evaluated YAMLScript value
|
||||
-e, --eval YSEXPR Evaluate a YAMLScript expression
|
||||
...
|
||||
Options:
|
||||
-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.
|
||||
1
Lang/YAMLScript/Rot-13
Symbolic link
1
Lang/YAMLScript/Rot-13
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../Task/Rot-13/YAMLScript
|
||||
Loading…
Add table
Add a link
Reference in a new issue