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

Allow simple grouping of values with "." in names #19

Open
dylex opened this issue May 22, 2015 · 0 comments · Fixed by unisonweb/configurator#1 · May be fixed by #20
Open

Allow simple grouping of values with "." in names #19

dylex opened this issue May 22, 2015 · 0 comments · Fixed by unisonweb/configurator#1 · May be fixed by #20

Comments

@dylex
Copy link

dylex commented May 22, 2015

That is, the following assignments could be equivalent:

group {
  a = 1
}
group.a = 1

This doesn't seem like it would introduce any incompatibilites (since "." is not allowed in names), but would make the configuration format more flexible. I can work on a patch if there is interest, probably just by parsing idents with "." as an implicit singleton Group (or as many as there are dots).

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