Commit Graph

11 Commits

Author SHA1 Message Date
Maurice Makaay 9f19add210 Now the parser code is out of the way, we can split up the state functions describing the syntax of TOML into separate files, while still keeping it maintainable. 2019-05-17 14:13:25 +00:00
Maurice Makaay db4a8f7942 Removed some source files that are not used anymore, after the refactoring steps. 2019-05-17 12:46:09 +00:00
Maurice Makaay f86ef2b918 Splitting off a more generic parser (it's fun getting to know a language, but you keep refactoring with all new stuff that you learn :-) 2019-05-17 12:44:24 +00:00
Maurice Makaay aeb48edc44 A little round of code cleanup. 2019-05-17 00:34:00 +00:00
Maurice Makaay 453a625a38 Fixed cursor position tracking (to report row + column on error). All tests are green again :-) 2019-05-17 00:11:12 +00:00
Maurice Makaay 29a13834dd Simplify, simplify, simplify, and make handling of invalid UTF8 or unexpected en of file more robust. 2019-05-16 23:26:43 +00:00
Maurice Makaay dc47ac3b71 Make short and long UTF8 escape sequences work in strings. 2019-05-16 16:17:23 +00:00
Maurice Makaay cbc4f04179 Code cleanup and refactoring run, both functional code and the tests. 2019-05-16 14:17:06 +00:00
Ubuntu 6636a7a672 Implemented a separated lexer.StringBuffer, to not pollute lexer code with string building code. The string builder can provide built strings both as literal as-is string (in TOML: single quotes), or as interpreted strings (in TOML: between double quotes) 2019-05-15 22:47:06 +00:00
Ubuntu 866a928f57 Backup work. 2019-05-15 11:08:14 +00:00
Ubuntu f6efd34b31 Initial import, work in progress. 2019-05-15 09:00:35 +00:00