eanderton
7c63fff960
Added Position Support to TomlTree
...
TomlDocument provides an optional TOML processing path where position
informaiton is stored alongside a TomlTree.
* Added Position struct
* Revised TomlTree to contain position data
* Added tomlValue to bind positions to values
* Revised parser to emit position data
* Revised token to use new Position struct
* Added tests for new functionality
* Bugfixed table array duplicate key handling
* Applied gofmt to all code
2014-08-26 21:00:41 -04:00
Thomas Pelletier
bf549a2194
Run gofmt
2014-08-07 12:52:42 +02:00
eanderton
1f8a8cbc06
Added error context for parsing of subtrees
2014-08-06 08:20:53 -04:00
eanderton
6db660fed5
Revised error formatting, fixed tests
2014-08-06 08:15:05 -04:00
eanderton
7d9a3c25bd
Revised error reporting
2014-08-06 07:34:01 -04:00
eanderton
7b208738bc
Fixed formatting; added name to license file
2014-07-07 21:06:42 -04:00
eanderton
c8b5633273
Group array support; ToString() support
2014-07-07 20:48:29 -04:00
Thomas Pelletier
dc20c454d7
Handle dots in keys
2013-12-10 21:51:40 +01:00
Thomas Pelletier
a4d623ad05
Fix implicit declaration
2013-12-10 19:29:01 +01:00
Thomas Pelletier
3085454477
Don't allow duplicate keys
2013-12-10 17:50:59 +01:00
Thomas Pelletier
278c4d97ec
Don't allow floats starting with a dot
2013-12-10 17:17:15 +01:00
Thomas Pelletier
8081f3cc09
Don't allow tables to be redefined
2013-12-10 16:10:26 +01:00
Thomas Pelletier
72f17747a0
Prevent mixed types in arrays
2013-12-10 15:45:50 +01:00
Thomas Pelletier
8a5d380286
Fix strings lexing and add a few tests
2013-03-26 10:53:49 +01:00
Thomas Pelletier
2bd1eb4f21
Add tests for errors ( fixes #5 )
2013-03-22 15:23:53 +01:00
Thomas Pelletier
8783fed844
Readd source files. I need coffee now
2013-02-25 10:57:12 +01:00