Skip to content
New issue

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

v0: Configuration support #203

Open
ingydotnet opened this issue Dec 14, 2024 · 0 comments
Open

v0: Configuration support #203

ingydotnet opened this issue Dec 14, 2024 · 0 comments

Comments

@ingydotnet
Copy link
Member

The YS compiler and runtime need to be configurable.

There are 2 main ways that YS code is compiled and evaluated and each need configuration:

  1. The ys (ys-0) CLI command.
    Needs to take a --config=<config-file> option (or YS_CONFIG var or default config file like ~/.yamlscript/config.yaml).
  2. A programming language libyamlscript.so binding library has a YAMLScript::Loader class that will need to be instantiated with a YAMLScript::Config class.

The required configuration keys are yet to be determined but they need to default to no code evaluation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant