toml-lang / toml.io

Source Code for toml.io
https://toml.io
MIT License
42 stars 44 forks source link

Doubt: Space within the table key #16

Closed ju-sh closed 4 years ago

ju-sh commented 4 years ago

I had a doubt. Wasn't sure which would be the right place to ask.

From the website, I see that.

[ g . h . i ] is same as [g.h.i].

But how will

[ g h . i ] be parsed.

Will g h be considered as the first part of the key (not sure if I'm using the right terms (-: )?

Or is it an error?

And in table arrays, are white spaces allowed between the double braces. Is something like [ [ product]] valid?

cannikin commented 4 years ago

I think this should go in the spec repo since it involves the spec itself: https://github.com/toml-lang/toml

eksortso commented 4 years ago

@cannikin I agree, though the answers to @ju-sh's questions are simple.

pradyunsg commented 4 years ago

@cannikin we should add an issue template and add this information into the README.

Basically, a better phrasing of "please file issues and questions related to the TOML specification at [link]. This repository/issue tracker is only for the toml.io website and not for the language specification."