yaml / yamlscript

Programming in YAML
MIT License
382 stars 31 forks source link

Capabilities Support #144

Open ingydotnet opened 3 months ago

ingydotnet commented 3 months ago

Users of a YAMLScript binding module should be able to specify the powers that the runtime is allowed to use at code evaluation time.

Currently a yamlscript().load(...) operation allows full powers. The default should be bare mode only (only YAML data, no code evaluation). After all, YAMLScript is intended to be a replacement for current language YAML loaders.