Syntax Highlighting

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
User avatar
chase
Site Admin
Posts: 710
Joined: Wed Oct 20, 2004 10:46 pm
Libera.chat IRC: chase_osdev
Location: Texas
Discord: chase/matt.heimer
Contact:

Re: Syntax Highlighting

Post by chase »

Updated the file with Combusters changes. If someone wants to modify the file to make it work better with the different assemblers that be fine. Figure out if the file could be updated so it had support for the directives and other keywords from all the assemblers or if you need to break it up into multiple files. Propose your changes, post you updates, get the majority of people to agree with you and I'll put it on the server.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Syntax Highlighting

Post by Troy Martin »

How would one go about editing said file (or adding a new lang like AT&T syntax asm?)
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Syntax Highlighting

Post by Combuster »

Erm chase, did you check that my version was actually free of syntax errors? I couldn't test that from where I made that. And right now, the wiki is broken. :!:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
chase
Site Admin
Posts: 710
Joined: Wed Oct 20, 2004 10:46 pm
Libera.chat IRC: chase_osdev
Location: Texas
Discord: chase/matt.heimer
Contact:

Re: Syntax Highlighting

Post by chase »

Combuster wrote:Erm chase, did you check that my version was actually free of syntax errors? I couldn't test that from where I made that. And right now, the wiki is broken. :!:
I did the "works for me test". Looks like I was hitting the cache or something. There seems to have been a missing comma at the end of line 109 (after 686). Appears to work now, let me know if it has more problems.
Post Reply