pyhcl
pyhcl copied to clipboard
HCL is a configuration language. pyhcl is a python parser for it.
I have a few examples where the hcltool is failing on valid hcl files: A = [ "string", "str" ] works fine A = [ "string", 1 ] works not...
HCL like `test = "hello\\"` or even with any amount of backslash like `"hello\"`, `"hello\\\"` or `"hello\\\\"` always end up with a `EOF before closing string quote`. Adding an additional...
Dumping HCL
Hi, I'm working on a library called anymarkup [1] and got a request from one of its users to provide support for HCL [2]. I think this project is the...
Just like the standard libraries json.load(), this is an option to have the result returned in a OrderedDict. Didn't implement it to the t like json.load() but close enough and...
hcltool doesn't validate this corner case: ``` foor { bar = "some_value" baz "some_value_1" foo1 { ..... } } ``` I expect to see the error for this case, but...
Super handy linting tool! I think a simple help dialog would make it just a tiny bit more user-friendly. 
Awesome work and great initiative, but this is kinda misleading because this is not compatible with HCL the output of both parsers is different. I might take this on and...
I've got the tests added, but my half-assed attempt at implementing isn't passing. Figured I'd open this up anyway since this is functionality pyhcl should have. May be better to...
Test passes if added into official https://github.com/hashicorp/hcl decoder test. What pyhcl makes is obviously wrong: `{'top': [{'a': 'a', 'b': 'b', 'c': 'c'}, {'b': 'b'}]} != {'top': [{'a': 'a', 'b': 'b'},...
Hashicorp's HCL parser for Go will [accept](https://github.com/hashicorp/hcl/blob/9a905a34e6280ce905da1a32344b25e81011197a/decoder_test.go#L187) input like the the following: ``` foo { key = 7 } foo { key = 12 } ``` pyhcl 0.2.1 barfs when...