4 ms·
Besides certain languages with special keywords, the easiest way would be to send it through syntax checkers iteratively. You could probably have generic "C-sty
by keeperofdakeys 14y ago
Besides certain languages with special keywords, the easiest way would be to send it through syntax checkers iteratively. You could probably have generic "C-style" and "common lisp style" types of checks, then you would have to actually look at api commands. The latter method would be rather problematic.
- isagalaev 14y agoThis is basically what highlight.js does indeed :-)