Commit Graph

1104 Commits

Author SHA1 Message Date
Mitchell Hashimoto
a4f0365393 Failing test 2014-08-11 14:19:35 -07:00
Mitchell Hashimoto
abf09ef1a5 Update README.md 2014-08-11 09:58:13 -07:00
Mitchell Hashimoto
0b07544203 convert types for type aliases 2014-08-08 16:07:08 -07:00
Mitchell Hashimoto
437eb0d851 decode JSON equally 2014-08-08 15:58:34 -07:00
Mitchell Hashimoto
61bd5db85c Fix consul test case 2014-08-08 15:16:42 -07:00
Mitchell Hashimoto
95d9b2e530 Decoding into a slice with a non-list should make list 2014-08-08 14:59:28 -07:00
Mitchell Hashimoto
a9d6287a6e hcl: support empty lists 2014-08-04 22:45:47 -07:00
Mitchell Hashimoto
bc2f8e57ee support decoding bools 2014-08-04 22:25:59 -07:00
Mitchell Hashimoto
0d84234df1 hcl: support booleans 2014-08-04 22:23:11 -07:00
Mitchell Hashimoto
398c583f25 hcl,json: fix list and object ordering 2014-08-04 21:53:39 -07:00
Mitchell Hashimoto
33c2953c5b hcl: set the key 2014-08-04 09:27:50 -07:00
Mitchell Hashimoto
481bfbf3c0 hcl: continue to simplify hcl ast 2014-08-03 22:02:57 -07:00
Mitchell Hashimoto
783acc2aa1 ObjectNodes can only have assignments 2014-08-03 21:56:50 -07:00
Mitchell Hashimoto
a095771be9 case insensitive Get 2014-08-03 17:57:54 -07:00
Mitchell Hashimoto
8c0a6c555f hcl: negative numbers and floats 2014-08-03 17:33:29 -07:00
Mitchell Hashimoto
2e6ea6c71c decode list of structs 2014-08-03 17:24:37 -07:00
Mitchell Hashimoto
ae8e4f9b5e Decode into pointers 2014-08-03 17:17:17 -07:00
Mitchell Hashimoto
daed1fd01d decoder can decode into structures 2014-08-03 14:06:18 -07:00
Mitchell Hashimoto
d3d3f86887 hcl: docs 2014-08-03 13:45:46 -07:00
Mitchell Hashimoto
42dabeb54f hcl: remove the tests for AST structure 2014-08-03 13:43:34 -07:00
Mitchell Hashimoto
5c7a923e39 Update README 2014-08-03 13:40:22 -07:00
Mitchell Hashimoto
9e89ffabde json: can parse negative numbers and floats 2014-08-03 13:34:08 -07:00
Mitchell Hashimoto
6462211d14 DecodeAST can take any ast Node 2014-08-03 13:19:20 -07:00
Mitchell Hashimoto
96e92c5213 Decode into flat structures for objects 2014-08-03 13:09:08 -07:00
Mitchell Hashimoto
58215e2ffa decoder structure for future options 2014-08-02 22:37:58 -07:00
Mitchell Hashimoto
5a08b50877 Update README 2014-08-02 22:23:14 -07:00
Mitchell Hashimoto
1bffcd38ba structure2 test 2014-08-02 22:18:39 -07:00
Mitchell Hashimoto
dec60315c8 update decoder to be better interface-aware 2014-08-02 22:12:51 -07:00
Mitchell Hashimoto
1879551ff7 unix line endings 2014-08-02 22:05:36 -07:00
Mitchell Hashimoto
c3506acf01 decode more complex structs 2014-08-02 22:05:21 -07:00
Mitchell Hashimoto
8e81ec8b57 Decoder expands exact objects into lists 2014-08-02 21:29:59 -07:00
Mitchell Hashimoto
efca695ce4 Add tests for equality in JSON and HCL 2014-08-02 20:48:36 -07:00
Mitchell Hashimoto
bbf6292cbe Passing tests 2014-08-02 20:40:41 -07:00
Mitchell Hashimoto
b2ba9e7b3e Decode structures 2014-08-02 16:07:54 -07:00
Mitchell Hashimoto
59e0ca9d5a Start the decoder 2014-08-02 15:44:45 -07:00
Mitchell Hashimoto
3a02b49a51 parse 2014-08-02 11:44:14 -07:00
Mitchell Hashimoto
d5f339015f hcl package for hcl parsing 2014-08-02 11:41:10 -07:00
Mitchell Hashimoto
358b43ddbc JSON parser 2014-08-02 11:38:41 -07:00
Mitchell Hashimoto
e0d7c7b378 lexMode detects JSON 2014-08-01 12:54:53 -07:00
Mitchell Hashimoto
9fee7c831b Remove colons from the normal lexer 2014-08-01 11:25:50 -07:00
Mitchell Hashimoto
e9b8055f58 Update README 2014-08-01 11:20:48 -07:00
Mitchell Hashimoto
038acdae90 Disallow objects in lists 2014-08-01 11:18:47 -07:00
Mitchell Hashimoto
1150448982 Update README 2014-08-01 10:38:44 -07:00
Mitchell Hashimoto
0aac9ca074 Fix some parsing bugs, add tests for visitor pattern 2014-08-01 08:31:17 -07:00
Mitchell Hashimoto
0cffcbd1d0 Parse tests that parsing succeeds for all types 2014-08-01 08:17:28 -07:00
Mitchell Hashimoto
23e6ebe938 Arrays, empty structures, assignment objects accepted 2014-08-01 08:14:57 -07:00
Mitchell Hashimoto
2fae04dacf passing tests 2014-07-31 18:47:23 -07:00
Mitchell Hashimoto
9a98eac129 Commit things 2014-07-31 18:44:21 -07:00
Mitchell Hashimoto
8e04dbf597 Deeper parsing 2014-07-31 14:50:53 -07:00
Mitchell Hashimoto
da4c96fbd5 Hook up a parser parse tests 2014-07-31 14:08:31 -07:00