The invention provides a mixed language
programming translation method and device,
electronic equipment, a storage medium and a product, and the method comprises the steps: carrying out the analysis and recognition of a to-be-translated
programming statement, and obtaining an IEC language
universal structure corresponding to the to-be-translated
programming statement; based on an IEC language general structure, constructing an
abstract syntax tree corresponding to a to-be-translated programming statement; the
abstract syntax tree is a general
syntax tree structure of an IEC language; and translating the
abstract syntax tree corresponding to the to-be-translated programming statement into a target translation programming statement corresponding to the target language based on a
translation rule between the IEC language general structure and the target language. According to the scheme, various IEC languages share the IEC language general structure, the
abstract syntax tree conforming to the IEC language general
syntax tree structure is constructed, each IEC language does not need to be independently converted into an
intermediate language, repeated codes are reduced, the consistency between different languages is improved, and then the programming translation efficiency and the programming translation accuracy of the mixed language are improved.