LLVM assembly syntax highlighting and snippets
- Total 4K
- Win 1K
- Mac 2K
- Linux 1K
|Jun 6||Jun 5||Jun 4||Jun 3||Jun 2||Jun 1||May 31||May 30||May 29||May 28||May 27||May 26||May 25||May 24||May 23||May 22||May 21||May 20||May 19||May 18||May 17||May 16||May 15||May 14||May 13||May 12||May 11||May 10||May 9||May 8||May 7||May 6||May 5||May 4||May 3||May 2||May 1||Apr 30||Apr 29||Apr 28||Apr 27||Apr 26||Apr 25||Apr 24||Apr 23|
LLVM TextMate Bundle
This is a TextMate Bundle for viewing and editing LLVM (Low Level Virtual Machine) assembly files (.ll).
For background on installing TextMate Bundles read Installing a Bundle.
If you plan on making changes to the Bundle that you want me to pickup, you must install in a different location than you would typically install TextMate Bundles. If you use the TextMate Bundle editor to edit a bundle in any location other than
~/Library/Application Support/TextMate/Bundles, it will create delta files which are very difficult to merge.
cd ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles git clone email@example.com:hansstimer/llvm.tmbundle.git osascript -e 'tell app "TextMate" to reload bundles'
cd ~/Library/Application Support/TextMate/Bundles git clone firstname.lastname@example.org:hansstimer/llvm.tmbundle.git osascript -e 'tell app "TextMate" to reload bundles'
Non TextMate Install
There are other editors that have some level of TextMate Bundle compatibility:
- Sublime Text 2
- VIM (with SnipMate plugin)
- and many more
Please see the documentation for your editor as to where to put the files. Not all Bundle features will work with all editors, however most editors support TextMate snippet files now days.
These are the snippets implemented:
|hello world program||hello|
The syntax highlighting is basic, but it is enough to help clarify the elements of an LLVM file.
Contributing to LLVM.tmbundle
I'm happy to merge any fixes/additions people might have.
A word of caution on making changes outside the TextMate Bundle editor; you must make sure you create a new UUID for each new file you add to the bundle. TextMate uses the UUID to provide for a kind of inheritance and to support name changes. Most other editors which use the same files don't care about the UUIDs, but non unique UUIDs will break TextMate.
Each file contains a UUID that can not be replicated in any other file in any other Bundle. The TextMate Bundle editor will take care of this for you automatically, but if you use a text editor you will need to generate a new UUID for each new item you add to the bundle i.e. a new snippet. You can create a new UUID with