A lexical analysis tool, and a use method and an algorithm of the lexical analysis tool. At present, various computer languages exist, and various language writing programs are everywhere. However, the compatibility between different language programs is extremely poor. The lexical analysis tool can greatly improve the execution efficiency of the same computer language program in different environments, and a series of problems on program running, extending and maintenance due to language barriers are solved. A specific lexical analysis rule is utilized to guide translation between the languages; as for an input terminal, most mainstream computer languages can be identified; results of an output terminal can be flexibly accepted by various language developers.
展开▼