Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

181 Commits

Folders and files

Repository files navigation

tree-sitter-nextflow

Parse rate

Nextflow grammar for tree-sitter. Mirrors the official Nextflow ANTLR grammar.

Installation

The Rust, Python, and C bindings are built from source:

git clone https://github.com/nextflow-io/tree-sitter-nextflow.git
  • Python: pip install .
  • Rust: add a path or git dependency on this repo in Cargo.toml.
  • C: make builds the shared library.

See editor and tool integrations for the query files and the requirements for Bash highlighting inside process scripts.

ast-grep

The repo includes an ast-grep setup for searching, linting, and outlining Nextflow code by syntax tree:

ast-grep -l nextflow -p 'Channel.from($$$)' .

See docs/ast-grep/ for setup, the bundled lint rules, and the pattern library.

About

No description, website, or topics provided.

Resources

Contributing

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages