Commit Graph

  • e1e97716f5 hclsyntax: RelativeTraversalExpr walkChildNodes implementation Martin Atkins 2018-09-25 08:24:10 -0700
  • 2933fec4da hclsyntax: Walk must call Walker.Exit before returning Martin Atkins 2018-09-25 08:23:11 -0700
  • ffb8e97eb7
    Merge pull request #49 from hashicorp/t-hclsyntax-fix Radek Simko 2018-09-21 18:02:03 +0100
  • ef3dcd77da
    hclsyntax: Add test for parsing of idx'd function calls Radek Simko 2018-09-21 11:54:13 +0100
  • def7e926c9
    hclsyntax: Fix incorrect positions in tests Radek Simko 2018-09-21 11:53:29 +0100
  • 65a6292f01 Allow strings "true", "false", "1" and "0" to be used where booleans are expected Phillip T. George 2018-09-06 13:38:39 -0500
  • 864f97c8ab guide: A section on input file naming conventions Martin Atkins 2018-09-05 08:26:29 -0700
  • dc326dd882 guide: Update the main title to "HCL Config Language Toolkit" Martin Atkins 2018-09-05 08:16:17 -0700
  • e78fa0ded2 guide: Guide-type documentation for HCL Martin Atkins 2018-09-05 08:10:27 -0700
  • 57c9a676d7 guide: The "Configuration Language Design" section Martin Atkins 2018-09-05 08:08:11 -0700
  • 280771fe8a guide: Design Patterns for Complex Systems section Martin Atkins 2018-08-31 22:01:43 -0700
  • 495dfc9487 guide: Low-level API section Martin Atkins 2018-08-31 07:40:30 -0700
  • d2e7762e9a guide: Expression Evaluation page content Martin Atkins 2018-08-28 08:45:24 -0700
  • 50cdb5d614 guide: Stub out some more of the overall guide outline Martin Atkins 2018-08-26 10:28:03 -0700
  • b737ad87a3 guide: A section on dynamic decoding using hcldec Martin Atkins 2018-08-26 10:03:28 -0700
  • 8cb6e5b959 Prepare to be a Go module Martin Atkins 2018-08-25 17:51:36 -0700
  • 3b190b826e guide: Disable the autoapi extension Martin Atkins 2018-08-25 17:06:04 -0700
  • 33120477c7 guide: When running in Read The Docs, get version from its environment Martin Atkins 2018-08-25 17:01:35 -0700
  • c6f6feed76 guide: Start of HCL usage guide Martin Atkins 2018-08-25 16:36:05 -0700
  • d754d5a269 hclwrite: Adjust token spacing automatically when writing Martin Atkins 2018-08-14 07:55:47 -0700
  • ed8144cda1 hcldec: BlockTupleSpec and BlockObjectSpec Martin Atkins 2018-08-22 12:31:30 -0700
  • b82170e941 hcldec: Handle or forbid cty.DynamicPseudoType attributes in nested blocks Martin Atkins 2018-08-22 11:52:40 -0700
  • d6049c2a04 Get ready to be a Go module Martin Atkins 2018-08-17 19:07:38 -0700
  • c79a9bd509 Beginnings of automated test suite for spec compliance. Martin Atkins 2018-08-12 18:23:14 -0700
  • ef5c50bb09 hcl/spectests: run the spec testsuite as part of "go test" Martin Atkins 2018-08-12 18:22:10 -0700
  • 12f0f2dbc5 specsuite: a few additional tests for structure Martin Atkins 2018-08-12 18:18:58 -0700
  • 74466f4d35 cmd/hclspecsuite: show source snippets for errors in .hcldec files Martin Atkins 2018-08-12 10:29:13 -0700
  • a5c0f7fdcc cmd/hclspecsuite: Check for expected diagnostics Martin Atkins 2018-08-12 10:08:27 -0700
  • 767fb36174 cmd/hclspecsuite: Check for traversals when requested Martin Atkins 2018-08-12 09:31:28 -0700
  • 95b1859585 cmd/hclspecsuite: Decode expected traversals and diagnostics Martin Atkins 2018-08-11 20:21:32 -0700
  • 65f9271b86 specsuite: Initial test for top-level attribute handling Martin Atkins 2018-08-10 08:57:59 -0700
  • db04b3dffe specsuites: Tests for comment parsing Martin Atkins 2018-08-10 08:51:51 -0700
  • 48039c0368 cmd/hclspecsuite: basic runner functionality for successful cases Martin Atkins 2018-08-10 08:49:43 -0700
  • 0956c193b7 specsuite: Start of the harness for the specification test suite Martin Atkins 2018-08-09 19:29:32 -0700
  • 6743a2254b cmd/hcldec: opt-in JSON-formatted diagnostics Martin Atkins 2018-08-09 18:10:00 -0700
  • 609cc35d49 cmd/hcldec: --var-refs option Martin Atkins 2018-08-09 17:40:14 -0700
  • bb724af7fd hcldec: BlockAttrsSpec spec type Martin Atkins 2018-08-09 16:53:16 -0700
  • 59bb5c2670 hclwrite: Fix NewExpressionAbsTraversal signature Martin Atkins 2018-08-09 08:47:37 -0700
  • c8c208e083 hclwrite: Body.SetAttributeValue Martin Atkins 2018-08-09 08:44:48 -0700
  • 77c0b55a59 hclwrite: Simplify internal data structures Martin Atkins 2018-08-01 08:45:22 -0700
  • b21bf61698 hclsyntax: Annotate diags from IndexExpr with source expr information Martin Atkins 2018-07-28 15:44:44 -0700
  • f6fe9b5c69 hcl: Deduplicate symbols when printing diagnostic messages Martin Atkins 2018-07-28 15:44:15 -0700
  • 8dd89ebbb3 hclsyntax: Fix error message for inconsistent conditional expr values Martin Atkins 2018-07-28 15:29:34 -0700
  • 7cc8ebfacf hcl: diagnosticTextWriter fix value reporting for 1-element collection Martin Atkins 2018-07-28 15:26:11 -0700
  • 627c12b67c hclsyntax: report expr and ctx correctly in ForExpr diagnostics Martin Atkins 2018-07-28 15:24:39 -0700
  • 5919f80710 hcl: When rendering diagnostics, elide complex index keys Martin Atkins 2018-07-28 14:51:11 -0700
  • f45c1cdace hcl: Include variable values in rendered diagnostics messages Martin Atkins 2018-07-28 14:42:53 -0700
  • 6356254632 hcl: Include Expression reference in diagnostics Martin Atkins 2018-07-28 13:36:55 -0700
  • 956c336d40 hcl: Best-effort "what's at this position" helpers Martin Atkins 2018-07-28 13:17:51 -0700
  • 93562f805f hcl: Annotate diagnostics with expression EvalContext Martin Atkins 2018-07-28 13:14:36 -0700
  • 41cff854d8 Fix "attribute" vs "argument" terminology in diagnostics Martin Atkins 2018-07-18 15:41:35 -0700
  • 966851f309 hclwrite: TokensForValue Martin Atkins 2018-07-14 15:02:26 -0700
  • 3c0fafde46 hclwrite: Formatter should put a space after a comma Martin Atkins 2018-07-14 15:01:41 -0700
  • 314ea6f332 hclwrite: Allow format to be called on fragment of tokens Martin Atkins 2018-07-14 15:01:27 -0700
  • d6367b5f96 hclwrite: Parsing of absolute traversals in expressions Martin Atkins 2018-07-14 13:07:39 -0700
  • 1718a963e6 extras: initial TextMate-style grammar for HCL Martin Atkins 2018-07-07 12:36:32 -0700
  • 6558d83419
    Merge pull request #37 from ceh/spec-typos Radek Simko 2018-07-03 18:59:26 +0100
  • 2c946fb6e2
    Merge pull request #39 from hashicorp/f-hcl-diag-as-errors Radek Simko 2018-07-03 18:58:32 +0100
  • 1b7f2717a3
    hcl: Add Diagnostics.Errs() Radek Simko 2018-07-02 14:15:58 +0100
  • 1308b594e2 Fix spec typos Emil Hessman 2018-07-01 19:35:20 +0200
  • 36446359d2 hcldec: Variables must visit deeply-nested specifications Martin Atkins 2018-05-24 12:11:53 -0700
  • 81d2277300 hclwrite: Format shouldn't introduce spaces before index brackets Martin Atkins 2018-05-23 16:56:29 -0700
  • 524cf10f48 hclsyntax: Allow the splat operators to be applied to sets Martin Atkins 2018-05-23 16:40:24 -0700
  • 3006ab4459 hclsyntax: Safe concurrent evaluation of splat expressions Martin Atkins 2018-05-23 16:38:39 -0700
  • bbbd0ef30d hcldec: Fix DefaultSpec to allow attribute and block specs Martin Atkins 2018-05-22 15:06:42 -0700
  • 9db880accf
    ext/typeexpr: correct examples in the README Martin Atkins 2018-04-05 19:34:53 -0700
  • ef8a98b0bb
    Merge pull request #243 from octo/single-line-lists Mitchell Hashimoto 2018-04-04 10:41:02 -0700
  • b07f6fa7a2 printer: Simplify the formatting of single-line lists. Florian Forster 2018-03-27 14:23:59 +0200
  • 26f11450d7 printer: Add another input breaking TestFormatValidOutput(). Florian Forster 2018-03-22 14:34:01 +0100
  • e9ccac6b7f
    Merge pull request #244 from octo/multiline-assign-comment Mitchell Hashimoto 2018-04-04 08:51:07 -0700
  • 653ccfb956
    Merge pull request #246 from octo/zero-length-heredoc-anchor Mitchell Hashimoto 2018-04-04 08:50:57 -0700
  • a68b5db4c3 scanner: Fix detection of zero-length heredoc anchor. Florian Forster 2018-04-04 17:09:20 +0200
  • 8bad6ac32e scanner: Add tests demonstrating issue with empty heredoc anchors. Florian Forster 2018-04-04 17:07:08 +0200
  • c2326d41d7 Fix handling of line comments in multi-line statements. Florian Forster 2018-03-27 17:23:41 +0200
  • ddff2bcdd7 printer: Add another failing input to TestFormatParsable. Florian Forster 2018-03-27 14:24:21 +0200
  • 061bf373e4
    Merge pull request #239 from octo/scanner Mitchell Hashimoto 2018-04-03 10:01:18 -0700
  • c247bd0851
    Merge pull request #245 from octo/cartridge-return Mitchell Hashimoto 2018-04-03 10:00:26 -0700
  • 25340db58d scanner: scanHeredoc(): Accept any number of CRs (`\r`) at end of line. Florian Forster 2018-04-03 16:23:33 +0200
  • 6a21c5aa50 printer: Add another failing input to TestFormatParsable. Florian Forster 2018-04-03 16:18:04 +0200
  • 13daa63726 scanner: Anchor heredoc-regexes at beginning of line. Florian Forster 2018-04-03 16:17:39 +0200
  • 89240c3707 printer: Add another failing input to TestFormatParsable. Florian Forster 2018-04-03 12:12:51 +0200
  • 23ed7ba25b scanner: Don't call unread() after reading EOF. Florian Forster 2018-03-19 14:51:49 +0100
  • cade852d47 scanner: Add unit test triggering a panic in unread(). Florian Forster 2018-03-19 11:37:54 +0100
  • f40e974e75
    Merge pull request #240 from octo/scanner-next Mitchell Hashimoto 2018-03-20 13:20:55 -0700
  • adef769457
    Merge pull request #241 from octo/scanner-null Mitchell Hashimoto 2018-03-20 13:19:40 -0700
  • ec2ba18997 scanner: Fail if U+E123 is found in input. Florian Forster 2018-03-20 14:14:51 +0100
  • a5efd34964 scanner: Report null bytes as errors, even at the end of file. Florian Forster 2018-03-20 12:10:43 +0100
  • a81aa7b5dd printer: Add unit test of Format() producing unparsable output. Florian Forster 2018-03-20 12:09:03 +0100
  • fdaaf22252 scanner: Update prevPos even when returning utf8.RuneError. Florian Forster 2018-03-19 14:00:49 +0100
  • 73fde59edb scanner: Add unit test triggering a panic in scanHeredoc(). Florian Forster 2018-03-19 12:01:22 +0100
  • b1738d9053 Fix broken formatting directives (#242) Seth Vargo 2018-03-20 14:36:33 -0400
  • 5f8ed954ab hclsyntax: count \r\n line endings properly in source ranges Martin Atkins 2018-03-08 08:30:58 -0800
  • 7d6ed4d8f3 hclsyntax: emit Newline after a CHeredoc Martin Atkins 2018-03-08 08:22:32 -0800
  • be66a72aa8 ext/typeexpr: HCL extension for "type expressions" Martin Atkins 2018-03-04 14:45:25 -0800
  • ab87bc9ded Update the various spec documents to include static analysis Martin Atkins 2018-03-04 14:35:16 -0800
  • 5956048526 hcl: ExprCall function Martin Atkins 2018-03-04 14:04:54 -0800
  • 92456935b8 hclsyntax: fix end-of-string edge cases for $ and % escapes Martin Atkins 2018-03-03 11:24:31 -0800
  • d66303f45b hclsyntax: allow block labels to be naked identifiers Martin Atkins 2018-03-03 10:09:10 -0800
  • 074b73b8b5 hclsyntax: Allow Terraform-style legacy index form Martin Atkins 2018-03-03 09:02:29 -0800
  • 061412b83a hclsyntax: allow underscore at the start of identifiers Martin Atkins 2018-03-03 08:03:52 -0800