pnathan / pp-toml

Paul's Parser for Tom's Own Minimal Language
https://github.com/mojombo/toml
Other
19 stars 3 forks source link

Add strict mode for arrays #7

Open pnathan opened 9 years ago

pnathan commented 9 years ago

In TOML, arrays should be homogeneous. However, pp-toml allows heterogeneous arrays.

Therefore, parse-toml should take a strict keyword which enforces strict mode for the TOML spec, including homogenous array enforcement.