Skip to content

Make configuration input more user friendly. #161

@uqs

Description

@uqs

Hi there

I would really like to add comments to the recipes that I'm writing, because, well, d'uh I'm not going to remember in 6 months why a certain construct was added and websites change all the time, so documenting the input/output of rules seems super critical.

Also, I absolutely hate JSON (syntax error for trailing commas, really? double quotes for everything?), but that's probably a weaker argument.

As the engine expects JSON, I guess an easy fix would be to use something better, like https://jsonnet.org/ that can compile to JSON, so the internal changes would likely be minimal. How to do that in PHP is another question though, maybe it needs to fork/exec jsonnet or something.

But really, any other alternative that allows for code comments should be fine and preferred over JSON. I just happen to have 10 years of experience with the inspiration of jsonnet, so I'm biased in that direction.

Cheers!
Uli

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions