(compiler): port c lexer into python.