Better HN
topnewbestaskshowjobs
Log inSign up

isagalaev

8 karma · joined May 25, 2011 (15y ago) · 7 submissions

Submissions

comment 14y ago · link · parent

Agreed. My most popular github repo is a JavaScript library, while professionally I'm mostly manager and my technical background is mostly in Python.

2.

Dark corners of JavaScript prototypes(softwaremaniacs.org ↗)

1 points · by isagalaev · 14y ago · discuss

comment 14y ago · link · parent

This is basically what highlight.js does indeed :-)

comment 14y ago · link · parent

Correction: highlight.js is 6 years old :-). And yes, I'm going to look into Rainbow more properly for useful ideas. And I encourage Craig to do the same. Isn't Open Source awesome? :-)

comment 14y ago · link · parent

More on that: http://softwaremaniacs.org/blog/2012/03/26/rainbow-js/en/

comment 14y ago · link · parent

You shouldn't. There are just too many errors in highlighting.

comment 15y ago · link · parent

Highlight.js does support Perl, does mark up q{...} as strings and has no problem with quoting in Lisp. I'm not sure about Haskell thing you mention because Haskell is a new contribution. But I'm sure it's fixable if it doesn't do the right thing.

You're probably talking about a hoard of simplistic regexp parsers. Highlight.js is not one of them, it's a proper context-aware parser.