摘要 |
In a compiler, accommodation to processor specifications is facilitated by customizing by defining an intrinsics function from outside. This compiler has a character string analyzer which divides instructions coded within a source program into tokens, a syntax analyzer which analyzes the syntax of the tokens to determine whether this syntax is correct, a code generator which converts the source program to machine language, and an intrinsics (build-in) function information database into which is stored built-in function definition attributes. The syntax analyzer analyzes the intrinsics function definition and instruction attributes, performs storage into an intrinsics function information database, and develops this intrinsics function information to generate object code.
|