corn-config / corn

🌽 A simple and pain-free configuration language. Reference libcorn implementation and CLI.
https://cornlang.dev
MIT License
40 stars 5 forks source link

Spaces and dots in keys #25

Closed JakeStanger closed 11 months ago

JakeStanger commented 1 year ago

These are quite common but not currently supported by Corn. Syntax for quoting keys in 'single quotes' should be added to allow this.

Example:

'foo.bar' = "baz" // does *not* expand to `foo = { bar  = "baz" }`