qbels

Crates.ioqbels
lib.rsqbels
version0.1.0
created_at2025-07-21 14:52:04.974655+00
updated_at2025-07-21 14:52:04.974655+00
descriptionA simple tree-sitter based lsp implementation for Quick Backend (QBE) IR
homepage
repositoryhttps://github.com/mkanilsson/qbels
max_upload_size
id1762140
size42,622
Marcus Nilsson (mkanilsson)

documentation

README

qbels

A simple tree-sitter based lsp implementation for Quick Backend (QBE) IR.

There is no support for multiple files, everything is on a per-file basis.

Features

  • Rename
  • Go to Definition
  • Find references
  • Autocomplete
  • Hover (I'd like to show documentation for hovered instruction)

Installation and Setup

cargo install qbels

Neovim

With lspconfig:

require("lspconfig.configs").qbels = {
    default_config = {
        cmd = { "qbels" },
        filetypes = { "qbe", "ssa" },
        root_dir = require("lspconfig").util.root_pattern(".git"),
        settings = {}
    }
}

require("lspconfig").qbels.setup {}

Other

I don't know, if you figure it out, please open a PR and add the instructions here :)

Commit count: 0

cargo fmt