摘要 |
PURPOSE: A method and a device of language converting for automation of satellite control and operation in a satellite control system are provided to prevent an error due to manual work by automatically converting a PIL(Procedure Intermediate Language) into a target language. CONSTITUTION: A word analyzing unit(110) converts a procedure document into a token string. The word analyzing unit orderly inputs a defined identifier of the procedure in a symbol table. A sentence analyzing unit(120) generates an AST(Abstract Syntax Tree) from the token string. The sentence analyzing unit inputs information corresponding to an identifier of the symbol table. A meaning analyzing unit(130) checks a meaning error of the procedure. A code generating unit converts the information into a script language of a first database(141). |