Commit Graph

  • 1804807358 decoder test string decode Lang Martin 2019-06-10 12:16:27 -0400
  • 1f63d5ffd6 decoder on string decode, accept floating point numbers and booleans Lang Martin 2019-06-10 12:13:18 -0400
  • 318e80eefe dependencies: go get github.com/zclconf/go-cty@v1.0.0 Martin Atkins 2019-06-06 16:46:11 -0700
  • 4b22149b7c hclwrite: No spaces before ... marker in argument lists or for exprs Martin Atkins 2019-05-15 15:32:00 -0700
  • d1ed8ee699 hclsyntax: Allow single-line comments at EOF without newline Martin Atkins 2019-05-15 15:13:57 -0700
  • 6a61d80ae3 hclsyntax: produce stub body when block parsing fails Martin Atkins 2019-05-14 14:40:44 -0700
  • 640445e163 hcl/hclsyntax: Correct scanning of literal $ and % before quotes Martin Atkins 2019-05-03 14:00:54 -0700
  • 3dfebdfc45 ext/dynblock: Stub out contents when for_each is unknown Martin Atkins 2019-04-30 11:11:43 -0700
  • ffaa892c15 go get github.com/zclconf/go-cty@master Martin Atkins 2019-04-30 11:00:40 -0700
  • 99e2f22d1c
    Merge pull request #275 from hashicorp/fix-unusedKeys Lang Martin 2019-04-30 09:52:23 -0400
  • e94e92c43a gofmt -s -w decoder.go Lang Martin 2019-04-25 16:34:11 -0400
  • c22487c32b Decode into non-nil pointer's existing value. Lang Martin 2019-04-25 15:36:34 -0400
  • f5f70d661b decoder_test use reflect.DeepEqual more sensibly Lang Martin 2019-04-25 08:00:34 -0400
  • 5eb0f21a30 fix unrelated parser_test compilation error Lang Martin 2019-04-23 13:50:30 -0400
  • c27cd9b2e8 hcl/json: Fix incorrect alphabetical check in scanner Maxim 2019-04-19 19:24:50 +0300
  • f7764c6954 hclpack: Fix name range for unsupported attribute Antti Kupila 2019-04-18 16:30:39 +0200
  • 2c5a4b7d72 hcl: Special error message for indexing a sequence with a fraction Martin Atkins 2019-04-16 09:23:32 -0700
  • d268d87f93 hcl: NewRangeScannerFragment function Martin Atkins 2019-04-12 15:16:41 -0700
  • fa8f3652ce fix hcl:"field,unusedKeys" populate with extra keys from the AST Lang Martin 2019-04-04 16:40:19 -0400
  • 258b8826b3 decoder_test check for decodedFields and unusedKeys Lang Martin 2019-04-05 12:42:51 -0400
  • 8b450a7d58
    hclsyntax: return the starting position of a missing attr, not the end. (#97) Kristin Laemmert 2019-04-02 16:08:43 -0400
  • 3fb4ed0d92 ext/dynblock: Allow WalkVariablesChild callers to get the body Martin Atkins 2019-03-27 15:38:17 -0700
  • f9f92da699 ext/dynblock: Allow interrogation of _all_ references in blocks Martin Atkins 2019-03-18 16:28:30 -0700
  • 956e03eb6d
    hclwrite: heredoc tokens are in line.lead, not line.assign (#95) Kristin Laemmert 2019-03-15 13:19:41 -0700
  • fdf8e232b6
    json: Eval json null values as cty.Null (#90) Mahmood Ali 2019-03-05 12:45:54 -0500
  • 7e26f2f346 hcl/hclsyntax: Parsing of for expressions while newline-sensitive Martin Atkins 2019-02-26 15:41:59 -0800
  • fb2bc46cdb
    json: Allow null values for block attributes (#87) Danielle Tomlinson 2019-02-14 12:58:25 +0100
  • 504b920607 hclsyntax: Fix error diagnostic for blocks inside JustAttributes Martin Atkins 2019-02-13 17:14:54 -0800
  • 89dbc5eb3d hcl: New GetAttr and ApplyPath functions Martin Atkins 2019-01-30 14:52:18 -0800
  • 93fb31f28b
    hcl/hclsyntax: Clarify character in error message Radek Simko 2019-01-28 10:32:56 +0000
  • 6d20f625a6 hcl/hclsyntax: Produce better error message for invalid apostrophe Radek Simko 2019-01-25 13:51:43 +0000
  • d43e8fd7d9 hcl/hclsyntax: Fix backtick and tab duplicate detection Radek Simko 2019-01-25 13:49:30 +0000
  • 4f47ee198a hcl/hclsyntax: Fix token range reporting for invalid characters Radek Simko 2019-01-25 13:45:53 +0000
  • 45accbc687 hcl/hclsyntax: Add TokenApostrophe constant Radek Simko 2019-01-25 18:07:54 +0000
  • d6f36c4c0f hcl/hclsyntax: Recognize apostrophe as token in scanner Radek Simko 2019-01-25 18:05:28 +0000
  • cb33095462 Regenerate code with ragel 6.10 Radek Simko 2019-01-25 16:46:54 +0000
  • a9ca194bcd hcl: All number parsing should use cty.ParseNumberVal Martin Atkins 2019-01-24 15:06:28 -0800
  • 96efb87de3 dependencies: go get github.com/zclconf/go-cty@master Martin Atkins 2019-01-24 14:58:15 -0800
  • d663dc6118 Improve error reporting for comma-separated args Radek Simko 2019-01-24 11:24:52 +0000
  • 7b147fbae4 hclwrite: fix space being added between interpolated items Austin Burdine 2019-01-16 05:33:06 -0500
  • 40e962e08e hclpack: fix marshalling file index positions Antti Kupila 2019-01-10 15:02:37 +0100
  • d5b12e1c08 hclpack: fix missing range on remaining body Antti Kupila 2019-01-10 10:43:00 +0100
  • b12d28fd16 hclpack: fix hclpack decoding nested body Antti Kupila 2019-01-10 08:43:00 +0100
  • 819a65acc4 Normalize the spec markdown styles Martin Atkins 2019-01-03 08:46:02 -0800
  • 2b184cace4 hclsyntax: Splat expression on non-sequence null gives empty tuple Martin Atkins 2019-01-03 08:44:27 -0800
  • 6631d7cd0a ext/dynblock: Make iterator variables visible to nested block for_each Martin Atkins 2018-12-19 17:20:50 -0800
  • 291f7fbe43 hcl/hclsyntax: Accept and ignore UTF-8 byte order marks Martin Atkins 2018-12-19 15:52:15 -0800
  • 62acf2ce82 hcl/hclsyntax: Handle template sequences in block labels Martin Atkins 2018-12-19 14:39:29 -0800
  • 253da47fd6 hcl: RelTraversalForExpr must copy traversal before modifying it Martin Atkins 2018-12-14 16:57:21 -0800
  • dac4796ca1 hclwrite: Formatter to put spaces before colons Martin Atkins 2018-12-14 15:53:02 -0800
  • 4c4fdbdcc0 hclwrite: Suspend indentation adjustment inside heredocs Martin Atkins 2018-12-14 14:46:44 -0800
  • 002296d7bb hclwrite: add space between "in" keyword and expr in for expression Martin Atkins 2018-12-14 14:19:04 -0800
  • bafa0c5ace hcl/hclsyntax: Accept single-line block definitions Martin Atkins 2018-12-14 13:45:03 -0800
  • 2934d2f033 cmd/hclspecsuite: Generate correct ranges in diagnostic-diagnostics Martin Atkins 2018-12-14 11:33:28 -0800
  • e8dbb16dbc hcl/hclsyntax: Fix up parsing of flush heredocs Martin Atkins 2018-12-13 17:22:41 -0800
  • c33bbe4c25 hcl/hclsyntax: Tests for normal (non-flush) heredoc expressions Martin Atkins 2018-12-13 11:59:00 -0800
  • b056768a1c hcl/hclsyntax: Parsing of the "full splat" operator Martin Atkins 2018-12-12 17:41:28 -0800
  • ebe27107e1 hcl/json: Detect variable references in property names Martin Atkins 2018-12-12 16:49:01 -0800
  • 47d7fce5a6 hcl/hclsyntax: Properly support scanning from a non-zero start offset Martin Atkins 2018-12-12 16:38:20 -0800
  • a085fdcd82 hcl/hclsyntax: Don't eat errors in IndexExpr collection or key Martin Atkins 2018-12-12 15:51:40 -0800
  • 854da97291 hcl/hclsyntax: Allow newline between { and "for" keyword Martin Atkins 2018-12-11 17:16:06 -0800
  • 447c39ed03 go fmt updates Martin Atkins 2018-12-11 16:49:03 -0800
  • 7ace05a3be hcl/hclsyntax: Better handling of naked attribute keys with dots Martin Atkins 2018-12-11 16:48:31 -0800
  • 17ab3729e7 hclsyntax: Highlight key expression on invalid key type in object cons Martin Atkins 2018-12-11 15:33:14 -0800
  • 1681396757 hcl: Fix PartialContent used on MergeBody result Derek McNeil 2018-12-11 18:23:12 -0500
  • 6709268582 hcl/hclsyntax: Return DynamicVal when splatting a DynamicVal Martin Atkins 2018-12-07 16:37:05 -0800
  • df9794be1f hcl/hclsyntax: More accurate type information for splat expressions Martin Atkins 2018-12-05 16:59:33 -0800
  • cd67ba1b25 hcl/hclsyntax: Fix scanning of multi-line comments Martin Atkins 2018-12-03 16:25:56 -0800
  • 4d82d52bfa
    update go.mod (#60) James Bardin 2018-11-29 15:21:51 -0500
  • acdba6be6b
    convert to correct types in expressions (#59) James Bardin 2018-11-29 14:43:45 -0500
  • 67424e43b1
    hcled: Introduce ContextDefRange (#58) Radek Simko 2018-11-26 23:35:46 +0000
  • 0467c0c38c hclpack: Update ExprSourceType.String to include ExprLiteralJSON Martin Atkins 2018-11-11 09:29:36 -0800
  • 12378af8b3 new 'hclpack' package Martin Atkins 2018-11-11 09:23:11 -0800
  • dcefc5ca24 hclpack: Body can now unmarshal from JSON Martin Atkins 2018-11-11 09:22:08 -0800
  • 30da06ec3f hclpack: Implement UnwrapExpression for our expressions Martin Atkins 2018-11-11 08:34:44 -0800
  • 06d5709118 hclpack: Support literal JSON as an additional expression syntax Martin Atkins 2018-11-11 08:26:37 -0800
  • 309e278914 hclpack: Implement JSON marshaling (but not unmarshaling, yet) Martin Atkins 2018-11-11 03:25:19 +0000
  • ed7453e277 hclpack: PackNativeFile to get a packed version of a native syntax file Martin Atkins 2018-11-11 00:00:53 +0000
  • 227ba9e86b hclpack: Start of definitions for JSON marshaling/unmarshaling Martin Atkins 2018-11-10 10:29:32 -0800
  • 5e07d8e1f9 hclpack: New package for wire representations of hcl bodies Martin Atkins 2018-11-10 09:36:26 -0800
  • 0a1bd51123 hclsyntax: "Arguments" instead of "attributes" in diagnostics Martin Atkins 2018-11-10 08:40:13 -0800
  • 9aa28a1a0b
    Merge pull request #53 from hashicorp/pt/edges_from_hcl1 Paul Tyng 2018-11-06 18:06:04 -0500
  • 917fbe66e7 hclwrite: Expression.RenameVariablePrefix Martin Atkins 2018-11-04 04:17:03 +0000
  • 0c14f1e3f6 hclwrite: Implement Body.SetAttributeTraversal Martin Atkins 2018-11-04 02:09:35 +0000
  • 1b9738a196 gohcl: EncodeIntoBody and EncodeAsBlock functions Martin Atkins 2018-11-04 01:16:51 +0000
  • 8cca983bca hclwrite: Support for creating new blocks and clearing bodies Martin Atkins 2018-11-04 01:13:13 +0000
  • 361186aad0 hclwrite: Recast TestRoundupCreate as an example Martin Atkins 2018-11-03 21:12:11 +0000
  • 17ff23300f hclwrite: NewEmptyFile function Martin Atkins 2018-11-03 20:45:25 +0000
  • a44a287724 hclwrite: Make File and Tokens implement io.WriterTo Martin Atkins 2018-11-03 20:10:05 +0000
  • fd915f557d hclwrite: Rename Body.AppendBlock to AppendNewBlock Martin Atkins 2018-11-03 19:54:56 +0000
  • 379d277e2b hcl/hclsyntax: Fix invalid block parsing test Martin Atkins 2018-11-03 19:49:14 +0000
  • 57c6d75eb8 hclwrite: Body.AppendBlock Martin Atkins 2018-11-03 09:21:31 -0700
  • 98352801f3 go mod tidy Martin Atkins 2018-11-03 08:43:20 -0700
  • 04d1413613 hclwrite: Split Attribute and Block into their own source files Martin Atkins 2018-11-03 08:43:10 -0700
  • 9928b942bb
    Add missing module Paul Tyng 2018-10-31 12:26:27 -0400
  • e8e85f5edd
    Add additional comment test cases Paul Tyng 2018-10-31 09:21:11 -0400
  • 3e4b7e0eb2 hclsyntax: If nested block doesn't parse, produce empty body Martin Atkins 2018-10-01 14:06:26 -0700
  • cce5ae6cc5 hclsyntax: Remove hclsyntax.Transform Martin Atkins 2018-09-26 07:38:43 -0700
  • 3f1c5474d4 hclsyntax: Add test for idx'd func outputs Radek Simko 2018-09-21 16:12:46 +0100
  • 983c83c156 hclsyntax: Some tests for Walk Martin Atkins 2018-09-25 08:25:28 -0700