Hi, Just a small patch for user of tablegen.vim I added support for: - defm and multiclass - imbricatable multiline C style comment - FIXME/TODO highlight in comment - binary and hexadecimal number - code using [{ }] is no highlighted as special (perhaps not the best choice) If someone has comment or idea to enhance, I will be happy to hear it. Regards, -- Cédric Ps: Is there somewhere a really simple backend for llvm? Sparc and mips are still far from simple and the doc is very thin. I am trying to do a backend for a really basic µC, If I am succeful, It could perhaps be used as example... (I would really like to have such an example right now ;) ). -------------- next part -------------- A non-text attachment was scrubbed... Name: upd-vim-syntax-for-tablegen.patch Type: application/octet-stream Size: 1720 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080426/85f9952f/attachment.obj>
Christopher Lamb
2008-Apr-26 21:00 UTC
[LLVMdev] Patch to improve Vim Tablegen syntax file
Unfortunately I can't share any that I have, but I've bootstrapped back ends for several embedded-like processors. Do you have any specific questions? -- Christopher Lamb On Apr 26, 2008, at 11:27 AM, Cédric Venet wrote:> Ps: Is there somewhere a really simple backend for llvm? Sparc and > mips are > still far from simple and the doc is very thin. I am trying to do a > backend > for a really basic µC, If I am succeful, It could perhaps be used as > example... (I would really like to have such an example right > now ;) ).<upd-vim-syntax-for- > tablegen.patch>_______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080426/7dc29568/attachment.html>
On Apr 26, 2008, at 11:27 AM, Cédric Venet wrote:> Hi, > > Just a small patch for user of tablegen.vim > > I added support for: > - defm and multiclass > - imbricatable multiline C style comment > - FIXME/TODO highlight in comment > - binary and hexadecimal number > - code using [{ }] is no highlighted as special (perhaps not the best > choice) >Applied. Thanks! -bw