LintCode
You can see a C lexer built on typescript here!
Input Code
Output Tokens