Tree-sitter LLVM
A Tree-sitter grammar for LLVM IR assembly (.ll). This parser aims to closely follow LLVM's textual IR as parsed by LLParser, including modules, functions, types, instructions, attributes, metadata, and more.
Highlights and captures are provided in queries/highlights.scm.
Installation
Node.js
Rust
Python (tree-sitter >= 0.25)
C
Go
Swift (SwiftPM)
Status and scope
Queries
Development
Example
Contributing
License
Acknowledgements
LLVM
91.3%
JavaScript
7.3%
Tree-sitter LLVM
A Tree-sitter grammar for LLVM IR assembly (.ll). This parser aims to closely follow LLVM's textual IR as parsed by LLParser, including modules, functions, types, instructions, attributes, metadata, and more.
Highlights and captures are provided in queries/highlights.scm.
Installation
Node.js
Rust
Python (tree-sitter >= 0.25)
C
Go
Swift (SwiftPM)
Status and scope
Queries
Development
Example
Contributing
License
Acknowledgements
LLVM
91.3%
JavaScript
7.3%