Abstract: A system and method for translating source code, comprising high level source code with embedded SQL statements, to p-code or machine-language instructions by a one-pass parsing mechanism. The one-pass parsing mechanism generates executable code without the need to generate an intermediate file. Additionally, the p-code or machine-language instructions are annotated with references to the line numbers of the corresponding source code, thereby allowing a source level debugger to debug the source code with embedded SQL statements.
Type:
Grant
Filed:
June 30, 1998
Date of Patent:
May 16, 2000
Assignee:
International Business Machines Corporation
Inventors:
Chin Hsiang Li, I-Shin-Andy Wang, Wei Young, Shu Huar Joseph Yeh, John Shek-Luen Ng, Kuo-Wei Hwang, Mir Hamid Pirahesh, Tak-Ming Lo
Abstract: The present invention is directed to a system and method for modifying a class file for the purpose of instrumentation, debugging, benchmarking, or making functional modifications to the class file. In addition, the present invention makes necessary changes to the components of the class file, so that the class file will pass the class file verifier before being executed. A class file is deconstructed into its components, and then selected components of the class file are modified by adding, deleting, or changing code within the components. The class file is then reconstructed, following all class file constraints imposed by the class file verifier. The present invention may also be used to modify selected code attributes of a network browser (i.e. a web browser) so that downloaded applets are saved to memory and modified before being executed by the information handling system.
Type:
Grant
Filed:
November 3, 1997
Date of Patent:
February 15, 2000
Assignee:
International Business Machines Corporation