Comments (5)
What do you mean for backwards compatibility? Did we introduce a backwards incompatible change somewhere since HCL was made? Can you show an example?
from hcl.
I mean, if people have old style configs with comma-delimited lists, making commas optional will still work for the old.
What I'm proposing is this:
- Old style:
[10, 20, 30]
,["a", "b", "c"]
- New style:
[10 20 30]
,["a" "b" "c"]
from hcl.
We've never had non-comma delimited lists, so I'm still confused what you're talking about, sorry. Even if we did, that was never intended. I'm not going to support that.
from hcl.
Sorry if I was too confusing. I never meant that you did support that. I proposed that you make commas in lists optional. Those who find configurations more readable with commas can still use them. And the others won't be forced to use them.
from hcl.
Ah, I don't see any real use case for that other than style and a style I don't really agree with. Why make it more confusing? One syntax to do one thing is better than ambiguity.
from hcl.
Related Issues (20)
- PartialContent documentation mismatch with behavior? HOT 4
- hclwrite: SetAttributeRaw() after Clear() is not present in hcl.Bytes() output
- how to convert HCL2 into json? HOT 9
- Conditionals with unknown conditions and marked branches are erroring.
- how to convert json to hcl using hclv2? HOT 4
- merged: set attributes even if diagnosed as duplicated HOT 2
- raw parse and decode without evaluating variables and functions? HOT 3
- hclsyntax: Recovery of outer `ObjectConsExpr` with empty `TemplateExpr` HOT 1
- Question: How to evaluate unknown functions without errors? HOT 2
- hclsyntax: Recovery of incomplete `ConditionalExpr` HOT 1
- Introduce `Code` to `Diagnostic`
- Report ambiguous attribute keys earlier than in `expression.Value()` HOT 2
- hclsyntax: Recovery of incomplete parenthesis
- Wrong `NameRange` for namespaced function call expressions
- Allow for block types with optional labels HOT 5
- hcldec: how to use `block_attrs`? HOT 1
- What happened to include? HOT 3
- Issue parsing HCL object within a block HOT 1
- Merge duplicate diagnostics to avoid diagnostics flood HOT 1
- Go generate does not work on newer systems
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hcl.