tree-sitter-hare 0.20.7

Hare grammar for the tree-sitter parsing library
Documentation
  • Coverage
  • 60%
    3 out of 5 items documented1 out of 2 items with examples
  • Size
  • Source code size: 1.34 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 933.67 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 24s Average build duration of successful builds.
  • all releases: 24s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ghishadow

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

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

let code = "";
let mut parser = tree_sitter::Parser::new();
parser.set_language(tree_sitter_hare::language()).expect("Error loading hare grammar");
let tree = parser.parse(code, None).unwrap();