Fork me on GitHub
#yamlscript
<
2023-09-02
>
Ingy döt Net19:09:49

Good news! The YAMLScript Python binding is now working!

$ python3 -c 'import sys,yamlscript; print(yamlscript.load(sys.argv[1]))' 'vec: (map str (range 10))'
['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
See https://github.com/yaml/yamlscript/blob/clojure/Testing.md for simple instructions on trying it out. Note: use the clojure branch.

🎉 2
Ingy döt Net19:09:54

$ git clone --branch=clojure [email protected]:yaml/yamlscript
$ cd yamlscript/
$ . .rc
$ make build
$ test-ys-string 'vec: (map str (range 10))'
+ python3 -c 'import sys,yamlscript; print(yamlscript.load(sys.argv[1]))' 'vec: (map str (range 10))'
['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
$