Commit Graph

180 Commits

Author SHA1 Message Date
jenterkin 00f0fbcdf2 update readme instructions 2025-10-07 15:46:56 +00:00
jenterkin 51698afe89 add readme 2025-10-06 16:51:08 -06:00
jenterkin 6b3300744d add jinja to examples 2025-10-06 16:49:08 -06:00
jenterkin dd5cf14b70 treat jinja as comments in tf 2025-10-06 16:36:21 -06:00
jenterkin 169afdafda treat jinja as comments in hcl 2025-10-06 16:25:16 -06:00
jenterkin 257abf0c72 add tf example 2025-10-06 16:21:00 -06:00
Michael Hoffmann fad991865f changelog: bump to 1.2.0
Signed-off-by: Michael Hoffmann <mhoffmann@cloudflare.com>
2025-06-16 15:47:02 +03:00
ObserverOfTime cb0e322d6f ci: publish to pypi 2025-06-15 22:15:34 +03:00
ObserverOfTime 09d38ff794 fix(node): set access to public 2025-06-15 22:15:34 +03:00
ObserverOfTime dffd961034 feat: enable go & python bindings 2025-06-15 22:15:34 +03:00
Michael Hoffmann 28e327cd3f fix: precedence of unary operators and expressions
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2025-06-09 21:40:11 +02:00
ObserverOfTime 009def4ae3 ci: update workflows
- Replace build workflow with CI & fuzz
- Add GitHub & NPM release workflow
2025-05-16 09:08:19 +02:00
ObserverOfTime c3172d7873 chore: regenerate parsers 2025-05-16 09:08:19 +02:00
ObserverOfTime 8b209bbb95 feat!: update bindings 2025-05-16 09:08:19 +02:00
maunzCache 41a2e70241 fix: streamline grammar generation 2025-04-13 18:22:57 +02:00
maunzCache 536bfc45f8 fix: correct setup to generate terraform dialect 2025-04-13 18:22:57 +02:00
maunzCache f5ebf32b8c feat: update the playground from upstream reference 2025-04-13 18:22:57 +02:00
maunzCache 3a58dc8928 fix: align project with upstream layout 2025-04-13 18:22:57 +02:00
maunzCache 91ab40725d feat: fix compiler warnings and generate grammar for tree-sitter 0.25 2025-04-13 18:22:57 +02:00
maunzCache ecb799c619 chore(deps): update tree-sitter to 0.25 2025-04-13 18:22:57 +02:00
maunzCache de10d494db fix: better version range 2025-03-27 07:18:39 +01:00
maunzCache 0ca4c1b69a chore: reenable lock files to ensure streamlined development 2025-03-27 07:18:39 +01:00
maunzCache d2dbd9cb78 chore: provide missing defaults via 2025-03-27 07:18:39 +01:00
maunzCache 16ccee9bf5 fix: revert missing binding 2025-03-27 07:18:39 +01:00
maunzCache e552eb9c7f fix: change bindings to fit current setup 2025-03-27 07:18:39 +01:00
maunzCache f0a315ded3 feat: update grammars 2025-03-27 07:18:39 +01:00
maunzCache 6bc92930a7 deps: support tree-sitter 0.24 2025-03-27 07:18:39 +01:00
Michael Hoffmann 9e3ec9848f feat: add namespaced identifiers
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2024-06-24 03:58:23 +02:00
Christian Clason 422cbe1d93 fix(scanner): don't use system includes 2024-06-17 10:17:55 +02:00
Christian Clason 9bb99439aa chore: regenerate with tree-sitter v0.22.6 2024-06-17 10:17:55 +02:00
Christian Clason 4d4d97dab4 fixup: terraform scanner typedef 2024-06-17 10:01:18 +02:00
Michael Hoffmann e2d416afeb fix(scanner): serialize buffer size check
During the check that we dont overflow the serialization buffer we
erroneously checked with size(uint32_t) == 1 which could cause us to
crash with some input strings.

Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2024-06-17 00:54:01 -04:00
Michael Anthony e936d3fef8 Fix broken link in README 2024-03-08 08:34:24 +01:00
Michael Hoffmann e135399cb3 fix: github windows cl.exe action
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-11-18 13:41:00 +01:00
Michael Hoffmann e84c6a396f feature: add cl.exe to build workflow
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-11-18 13:41:00 +01:00
Michael Hoffmann 3b8085d5db feature: add zig to build workflow
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-11-18 09:24:00 +01:00
Michael Hoffmann de0ca40852 fix: github windows action 2023-11-18 09:24:00 +01:00
Michael Hoffmann c3690b9f0c fix(scanner): fix context type
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-11-16 17:03:34 +01:00
Michael Hoffmann fdf6463216 fix(scanner): fix segfault
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-11-13 16:18:52 +01:00
Amaan Qureshi 229d8e50ab chore: sync generation w/ upstream ts 2023-11-11 09:27:46 +01:00
Amaan Qureshi 573e5bd076 fix: don't truncate lengths 2023-11-11 09:27:46 +01:00
Amaan Qureshi b553906543 chore: update bindings & ci workflow 2023-07-27 07:37:21 +02:00
Amaan Qureshi 5160a52f2d feat: rewrite the scanner in C 2023-07-27 07:37:21 +02:00
Michael Hoffmann 636dbe7030 grammar: remove shim again
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
2023-07-25 19:21:31 +02:00
Michael Hoffmann becebebd35 ci: fix acceptance workflow 2023-04-09 14:24:54 +02:00
Michael Hoffmann 3cf33b40d4 fix: hanging parser on trailing comment 2023-04-08 20:17:11 +02:00
Michael Hoffmann 486488948b grammar: fix structure of coments in block bodies 2023-04-08 15:36:43 +02:00
Andrew Hlynskyi 4e33af0710 Fix a case with an empty body with comment(s) 2023-04-08 15:28:54 +02:00
Andrew Hlynskyi 9903dc0b57 Add a shim to move a comment extra into a body node 2023-04-08 15:28:54 +02:00
Michael Hoffmann b8fcca985c misc: rework shell.nix, reformat, ditch .editorconfig 2023-04-07 12:17:28 +02:00