Subject: Support for extra languages
I'm not a user of Un[classified] Newsboard, my site isn't really popular enough to warrant a message board. But my friends site does. I'm also a moderator on a few SMF forums. I've notice that no messageboard has support for Assembly Language in the 'code' tags. Do you think this would ever be a consideration for Un[classified] Newsboard? As far as which assembler to support, that really shouldn't matter, just skip assembler specific directives and support hilighting of opcodes, types (byte, word, dword, qword, tenbyte and the associative db, dw, dd, dq, and dt), and string declarations. That way any assembler code would be very nicely formatted. Just a suggestion as one of the thousands of avid assembly programmers who generally get left out of the "syntatical hilighting support".
Regards,
Bryant Keller
Regards,
Bryant Keller

Synfire
Link to this post
Show profile
The syntax highlighter in use is GeSHi and there's a whole lot of syntax definitions for it. I'd just need to get the appropriate file and add "asm" to the PHP code that assigns syntax files to [code] tag parameters. You could even do that for yourself with a little PHP experience. The relevant code can be found in the file abbc.lib.php, there's already a lot of other language names in there. I'll put it on my TODO list.
Thanks again mate.