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

Change the configuration #10

Closed
Dynom opened this issue Sep 20, 2018 · 0 comments
Closed

Change the configuration #10

Dynom opened this issue Sep 20, 2018 · 0 comments

Comments

@Dynom
Copy link
Owner

Dynom commented Sep 20, 2018

I'm not liking YAML for configuring TySug, I'm currently considering the following formats instead:

  • HCL -- JSON with comments
  • TOML -- A more sensible YAML
  • SAN -- HCL "improved?"

TOML

Looks a bit like INI and offers a good specification. However I find it a bit too complex for TySug's use-case.

Things I don't like:

  • Certain notations aren't super obvious

Things I like:

  • Clear documentation and specification
  • Distinction between arrays and tables (hashmaps)
  • Typed arrays (types can't be mixed)
  • Native support for dates (With TZ's)
  • Freedom of indentation (usage and tabs or spaces)
  • Unique keys (keys can't be repeated)
  • Large community adoption and seems battle-tested

HCL

Things I don't like:

  • Poor documentation of specification
  • Mixed type arrays

Things I like:

  • Seems nice and simple
  • Fair community adoption
  • I like the syntax

SAN

Things I don't like:

  • Not mature and limited test coverage
  • Opinionated indentation (spaces only)

Thinks I like:

  • Simple
@Dynom Dynom closed this as completed in 7d7a279 Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant