Compilation principle for c language lexical analysis