Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nverno/llvm-mode

Improved emacs major-mode for LLVM IR source
https://github.com/nverno/llvm-mode

emacs ir llvm llvm-ir

Last synced: about 1 month ago
JSON representation

Improved emacs major-mode for LLVM IR source

Awesome Lists containing this project

README

        

# llvm-mode - Major mode for the LLVM IR language

Major mode for editing LLVM IR files.

Modified from https://github.com/llvm-mirror/llvm//utils/emacs/llvm-mode.el to
include:

- additional syntax
- font-lock for globals (vars/declares/defines)
- imenu
- indentation: `llvm-mode-indent-offset` and `llvm-mode-label-offset`
- basic completion for:
+ global variables
+ global declares/defines

TODO:

+ keywords / attributes
+ could add labels / %uids as well

References:
- https://github.com/llvm-mirror/llvm/docs/LangRef.rst
- [vim syntax](https://github.com/llvm-mirror/llvm/utils/vim/syntax/llvm.vim)

### Installation

Add to `load-path` and generate autoloads or
```lisp
(require 'llvm-mode)
```