Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add tree-sitter/tree-sitter #12613

Merged

Conversation

CrystalMethod
Copy link
Contributor

tree-sitter/tree-sitter: An incremental parsing system for programming tools

$ aqua g -i tree-sitter/tree-sitter

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

$ tree-sitter
tree-sitter 0.20.8
Max Brunsfeld <maxbrunsfeld@gmail.com>
Generates and tests parsers

USAGE:
    tree-sitter <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    init-config       Generate a default config file
    generate          Generate a parser
    parse             Parse files
    query             Search files using a syntax tree query
    tags              Generate a list of tags
    test              Run a parser's tests
    highlight         Highlight a file
    build-wasm        Compile a parser to WASM
    playground        Start local playground for a parser in the browser
    dump-languages    Print info about all known language parsers

[tree-sitter/tree-sitter](https://github.com/tree-sitter/tree-sitter): An incremental parsing system for programming tools
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label May 28, 2023
@suzuki-shunsuke suzuki-shunsuke added this to the v4.11.0 milestone May 28, 2023
@suzuki-shunsuke
Copy link
Member

Thanks!

@suzuki-shunsuke
Copy link
Member

📝

https://tree-sitter.github.io/tree-sitter/creating-parsers#installation

Installation
To create a Tree-sitter parser, you need to use the tree-sitter CLI. You can install the CLI in a few different ways:

  • Build the tree-sitter-cli Rust crate from source using cargo, the Rust package manager. This works on any platform. See the contributing docs for more information.
  • Install the tree-sitter-cli Node.js module using npm, the Node package manager. This approach is fast, but is only works on certain platforms, because it relies on pre-built binaries.
  • Download a binary for your platform from the latest GitHub release, and put it into a directory on your PATH.

@suzuki-shunsuke suzuki-shunsuke merged commit 01bb6cb into aquaproj:main May 28, 2023
16 checks passed
@suzuki-shunsuke
Copy link
Member

@CrystalMethod CrystalMethod deleted the feat/tree-sitter/tree-sitter branch October 17, 2023 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants