News for hackers. Stuff that matters.
Re:Microlight.js, a code highlighting library by verandaguy on Monday May 30, 2016 @04:32PM (#11803011)
How well does it work for non C-like languages? Particularly, ones like Haskell, Erlang, SQL?

I'd check myself, but I'm away from a PC for a while.

Re:Microlight.js, a code highlighting library by xpostman on Monday May 30, 2016 @04:39PM (#11803047)
it works... somehow :-)

http://asvd.github.io/microlight/haskel.png

well, since the lib is general, it's built upon compromises. But I am open for suggestions concerning updating the logic for some particular cases

Re:Microlight.js, a code highlighting library by amelius on Monday May 30, 2016 @04:41PM (#11803058)
Does it also work for languages where you can define // to be an operator?
Re:Microlight.js, a code highlighting library by xpostman on Monday May 30, 2016 @04:40PM (#11803056)
with except for SQL, of course. SQL syntax is a nonsence, highlighting would not make it any readable