-
Notifications
You must be signed in to change notification settings - Fork 100
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
JSON PSL/Runtime Config #274
Comments
Here is a draft of the proposed format: This has been expended to include more than just config, but also rules, and general PSL config. |
The single |
YAML is out, we are generally not fans and the subtle differences between list and maps have made it hard on our users. |
I still insist on using YAML because it has less syntax stuff and fewer special characters and it is only using whitespace for distinction which makes it more readable. You can simply handle yamlconfig:
list:
- item1
- item2
- item3
- item4 while a yamlconfig:
map:
key1: value1
key2: value2
key3: value3
key4: value
I usually don't use things that are not implemented according to standards since they are fragile and may change soon. Also, these implementations usually have no good community for maintaining them. |
We will still support YAML, but all our descriptions, examples, and efforts will be in JSON going forward. |
The current YAML setup is pretty fragile and can be confusing (e.g. when to make a map or a list).
With all the potential options coming up in the Supporting/Neural models, we need a configuration that is more robust.
A JSON setup would be pretty nice.
We should make a JSON format and deprecate the YAML format in the next release.
The text was updated successfully, but these errors were encountered: