Gedit asm syntax highlight

Programming, for all ages and all languages.
Post Reply
User avatar
Luis
Member
Member
Posts: 39
Joined: Sat Feb 16, 2013 11:19 am

Gedit asm syntax highlight

Post by Luis »

Hi,

I thought I could share this with you guys. Probably I'm missing some things because I didn't put much work on it. It's kinda FASM oriented but should be ok'ish for NASM too but more incomplete. Only testing I did so far was to open a random asm file I had and it looked normal to me.

If you feel like something is wrong or missing (no time to spare for advanced stuff) please tell me and I will update it.


Cheers,
Luís

Edit: Uploaded new and improved version made after some testing. This version was made from scratch because the other lang file wasn't allowing me to do what I needed.

Edit2: Added missing binary, octal and pascal hex
Attachments
fasm.lang.tar.bz2
(1.98 KiB) Downloaded 111 times
Last edited by Luis on Sat May 03, 2014 7:16 pm, edited 8 times in total.
User avatar
sortie
Member
Member
Posts: 931
Joined: Wed Mar 21, 2012 3:01 pm
Libera.chat IRC: sortie

Re: Gedit asm syntax highlight

Post by sortie »

Oh cool. I actually use those highlighting styles for gedit, though the AT&T one mainly.
User avatar
Luis
Member
Member
Posts: 39
Joined: Sat Feb 16, 2013 11:19 am

Re: Gedit asm syntax highlight

Post by Luis »

Found an issue with anonymous labels and it's missing highlight for $ and $$. I will add soon.
User avatar
Luis
Member
Member
Posts: 39
Joined: Sat Feb 16, 2013 11:19 am

Re: Gedit asm syntax highlight

Post by Luis »

Many quirks sorted and hopefully most stuffs highlighted. Colors for some types are the same so please tell me if in any of those cases it should have different colors.
Post Reply