https://github.com/tree-sitter-grammars/tree-sitter-smali
smali grammar for tree-sitter
https://github.com/tree-sitter-grammars/tree-sitter-smali
parser smali tree-sitter
Last synced: 3 months ago
JSON representation
smali grammar for tree-sitter
- Host: GitHub
- URL: https://github.com/tree-sitter-grammars/tree-sitter-smali
- Owner: tree-sitter-grammars
- License: mit
- Created: 2023-02-22T03:45:33.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-05T22:22:40.000Z (over 1 year ago)
- Last Synced: 2025-06-09T22:41:31.940Z (5 months ago)
- Topics: parser, smali, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 1.23 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# tree-sitter-smali
[](https://builds.sr.ht/~yotam/tree-sitter-smali?)
[](https://github.com/amaanq/tree-sitter-smali/actions/workflows/ci.yml)
[](https://discord.gg/w7nTvsVJhm)
Smali grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter).
The Smali syntax is poorly documented so there might be some problems with it
but the authoritative definition for the syntax is at [JesusFreke/smali](https://github.com/JesusFreke/smali),
most notably at [smali/src/main/jflex/smaliLexer.jflex](https://github.com/JesusFreke/smali/blob/master/smali/src/main/jflex/smaliLexer.jflex)