5 unstable releases

0.3.2 Nov 17, 2025
0.3.1 Oct 26, 2025
0.3.0 Oct 26, 2025
0.2.0 Jul 7, 2025
0.1.0 Jul 3, 2025

#1767 in Parser implementations

Download history 83/week @ 2025-08-18 67/week @ 2025-08-25 109/week @ 2025-09-01 74/week @ 2025-09-08 152/week @ 2025-09-15 54/week @ 2025-09-22 89/week @ 2025-09-29 71/week @ 2025-10-06 146/week @ 2025-10-13 242/week @ 2025-10-20 248/week @ 2025-10-27 262/week @ 2025-11-03 222/week @ 2025-11-10 95/week @ 2025-11-17 54/week @ 2025-11-24 20/week @ 2025-12-01

409 downloads per month
Used in mergiraf

MIT license

42KB
1.5K SLoC

C 1K SLoC JavaScript 50 SLoC // 0.2% comments Rust 32 SLoC // 0.1% comments Scheme 25 SLoC

This crate provides GoSumOrchard language support for the tree-sitter parsing library.

Typically, you will use the LANGUAGE constant to add this language to a tree-sitter Parser, and then use the parser to parse some code:

let code = r#"
cloud.google.com/go/compute/metadata v0.6.0 h1:A6hENjEsCDtC1k8byVsgwvVcioamEHvZ4j01OwKxG9I=
cloud.google.com/go/compute/metadata v0.6.0/go.mod h1:FjyFAW1MW0C203CEOMDTu3Dk1FlqW3Rga40jzHL4hfg=
code.forgejo.org/f3/gof3/v3 v3.11.0 h1:f/xToKwqTgxG6PYxvewywjDQyCcyHEEJ6sZqUitFsAE=
code.forgejo.org/f3/gof3/v3 v3.11.0/go.mod h1:4FaRUNSQGBiD1M0DuB0yNv+Z2wMtlOeckgygHSSq4KQ=
"#;
let mut parser = tree_sitter::Parser::new();
let language = tree_sitter_gosum_orchard::LANGUAGE;
parser
    .set_language(&language.into())
    .expect("Error loading go.sum parser");
let tree = parser.parse(code, None).unwrap();
assert!(!tree.root_node().has_error());

tree-sitter-gosum-orchard

crates pypi

go.sum grammar for tree-sitter

Forked from https://github.com/tree-sitter-grammars/tree-sitter-go-sum by Amaan Qureshi, to update it to tree-sitter 0.25.

Dependencies

~16–250KB