Patent ID: 7761860

Claim:
A pre-compiling device comprising: a source code scanner, which scans for a source code file comprising unconfigured source code, retrieves a configuration directive from the unconfigured source code, analyzing a syntax of the configuration directive, and outputs a tree of a lexical unit corresponding to the configuration directive retrieved from the source code file; a core, which outputs the configuration directive in a configuration state; a graphical user interface, which interfaces between the core and a user, and represents an internal configuration state and represents a current configuration state based on a variable value input by the user; code generation modules, which derive from the configuration state output from the core, code in a programming language that has no correlation with a flow of the lexical unit; programming language modules, which transfer information on a comment syntax of the programming language to the source code scanner and the code generation modules, and receive the code in the programming language that has no correlation with the flow of the lexical unit received from the code generation modules, and insert the code in the programming language that has no correction with the flow of the lexical unit received form the code generation modules into the unconfigured source code file to create configured source code; and output source codes; and an external language module, which is added to the programming language modules, which expands a configurator functionality without correcting a configuration program and is written in a extensible markup language (XML)-based language; wherein at least one of the source code scanner, the core the graphical user interface, a code generation module, and a programming language module is performed by a hardware processor.