Commit graph

13 commits

Author SHA1 Message Date
Ika 000f53ee75 chore: update formatting 2019-08-22 17:22:58 +08:00
Ika 7edffec878 chore(release): 0.1.3 2019-08-21 09:14:02 +08:00
Ika 752419c33d
fix: trailing whitespaces are allowed for local_time (#3)
Input:

(each `·` indicates a whitespace)

```toml
valid·=·1979-05-27·
```

Output:

```
# before

(file
  (ERROR
    (key)))

# after

(file
  (pair
    (key) (local_date)))
```
2019-08-21 09:13:14 +08:00
Ika 9bdd88e854 chore(release): 0.1.2 2019-08-20 15:03:41 +08:00
Ika a0cd384b98 feat: rename root with file 2019-08-20 15:01:47 +08:00
Ika a3812033af
feat: flatten table/table-array structure (#2)
Input:

```toml
[table]
key = "value"
```

Output:

```sh
# before
(root
  (table
    (key)
    (pair (key) (string)))

# after
(root
  (table (key))
  (pair (key) (string)))
```
2019-08-20 14:59:19 +08:00
Ika 43595130ac chore(release): 0.1.1 2019-08-20 09:31:30 +08:00
Ika e2b28db714
fix: disallow invalid whitespaces between scalar components (#1) 2019-08-20 09:30:20 +08:00
Ika 46de5998d4 refactor: replace external tokens with internal ones 2019-08-19 23:58:20 +08:00
Ika 0a0a42230e docs(readme): prettify example output 2019-08-18 21:21:14 +08:00
Ika 0f9cc8896b chore: update gitattributes and add prepack script 2019-08-18 21:13:19 +08:00
Ika 702cf2fa55 chore(release): 0.1.0 2019-08-18 18:34:13 +08:00
Ika 5acac3958f feat: initial implementation 2019-08-18 18:30:34 +08:00