We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
!yamlscript v0: ...
A YAMLScript file needs to declare up front many things that the compiler should be aware of.
The initial !yamlscript/v0/... tags let you control "ys version" and "starting mode" but there are many more things we need including:
!yamlscript/v0/...
A YS document (must be a top level map) can have a first pair whose key is !yamlscript v0:.
!yamlscript v0:
For example:
!yamlscript v0: mode: data/code/bare yaml: 1.2 core scys: schemays-url need: 0.1.87 with: capabilities-config vars: vars-url name: namespace uses: [module-urls] deps: dep-specs exps: [experimental features]
The values can also be stored outside in any importable form:
!yamlscript v0: ./meta.yaml
or
!yamlscript v0: github:user/repo/meta.yaml
NOTE: If the special key tag is used, the special document is not used. (one or the other)
The text was updated successfully, but these errors were encountered:
Top level sequences can be used like so:
!yamlscript v0: mode: data yaml: 1.2 json ::: - foo - bar
Sorry, something went wrong.
No branches or pull requests
A YAMLScript file needs to declare up front many things that the compiler should be aware of.
The initial
!yamlscript/v0/...
tags let you control "ys version" and "starting mode" but there are many more things we need including:A YS document (must be a top level map) can have a first pair whose key is
!yamlscript v0:
.For example:
The values can also be stored outside in any importable form:
or
NOTE: If the special key tag is used, the special document is not used. (one or the other)
The text was updated successfully, but these errors were encountered: