The invention relates to the technical field of
programming language compilation, and provides a
type checking method,
electronic equipment and a storage medium, the method comprises the following steps: reading an instruction statement in a to-be-checked program to obtain an operation code, an
operand and an expected type of the
operand in the instruction statement; based on the operation code, determining the check strict degree of the instruction statement; based on the checking strict degree of the instruction statement, the expected type of the
operand and the
declaration type of the operand are checked, and the
declaration type is determined based on the
declaration statement in the program to be checked. According to the method, the
electronic equipment and the storage medium provided by the invention, an effective
type checking mechanism with universality is realized for a low abstraction level of a virtual
instruction set class, and the security of a program is guaranteed. And moreover, more flexible
type checking which is more suitable for the own requirements of the instruction statements is realized, unnecessary type limitation caused by strictly fixed type checking is avoided, and the convenience of
programming and debugging is improved.