Moved the lexer to CPP_foundation.