I couldn't find a tree-sitter grammar for x86 assembly... so I made one!

It supports Intel syntax only, some NASM idiosyncrasies, and understands objdump output.

It's live on my site, see for example

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!