Enabling multiple code generators in a translator-based...

Data processing: software development – installation – and managem – Software program development tool – Translation of code

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C717S152000, C707S793000

Reexamination Certificate

active

06339839

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention relates in general to generating Web content, and in particular, to a method for enabling multiple code generators in a translator-based embedded scripting system.
2. Description of Related Art
With the fast growing popularity of the Internet and the World Wide Web (also known as “WWW” or the “Web”), there is also a fast growing demand for Web development tools. A number of different tools are available, including HTML translators, Java interpreters, JavaScript translators, etc.
A translator-based embedded scripting environment usually converts the original input source containing embedded script into an equivalent script format first, such that a script engine only has to deal with a final source file. For example, when the original input source is HTML text, with or without embedded Java source, a JavaSoft Pagecompile™ translator usually converts the original input source into an equivalent Java source file, so that a Java Virtual Machine only has to interpret the Java source and not the HTML text.
However, this approach fails when there is a need to have more than one translator to process the original input source. For example, if the original input source includes non-HTML text and/or non-Java source, such as JavaScript, NetRexx, etc., a JavaSoft Pagecompile™ translator cannot convert the original input source into its equivalent Java source; instead, another translation from JavaScript, NetRexx, etc., into Java source must occur first.
The present invention solves this problem by introducing a method to allow the use of multiple code generators with an original input source.
SUMMARY OF THE INVENTION
To overcome the limitations in the prior art described above, and to overcome other limitations that will become apparent upon reading and understanding the present specification, the present invention discloses a method, apparatus, and article of manufacture for providing a translator-based embedded scripting environment that includes multiple translators, interpreters, or code generators for use with a single original input source. The original input source contains programming statements in multiple languages, and is split into multiple intermediate sources. One of the intermediate sources contains statements in a first programming language as well as placeholders identifying the locations of statements in the original input source in a second programming language. This intermediate source is translated into a class definition, wherein the placeholders are translated into file input/operations that write the statements in the original input source in the second programming language to an output destination. Another of the intermediate sources is translated into statements that instantiate the class definition as an object and then invoke the methods of the instantiated object in order to maintain a sequence of execution specified in the original input source.


REFERENCES:
patent: 5159687 (1992-10-01), Richburg
patent: 5390314 (1995-02-01), Swanson
patent: 5586330 (1996-12-01), Knudsen et al.
patent: 5623656 (1997-04-01), Lyons
patent: 5699310 (1997-12-01), Garloff et al.
patent: 5721912 (1998-02-01), Stepczyk et al.
patent: 5745360 (1998-04-01), Leone et al.
patent: 5890158 (1999-03-01), House et al.
patent: 5907704 (1999-05-01), Gudmundson et al.
patent: 5918010 (1999-06-01), Appleman et al.
patent: 5937064 (1999-08-01), Eick et al.
patent: 5963952 (1999-10-01), Smith
patent: 5987256 (1999-11-01), Wu et al.
patent: 5999944 (1999-12-01), Lipkin
patent: 6038590 (2000-03-01), Gish
patent: 6074432 (2000-06-01), Guccione
patent: 6157926 (2000-12-01), Appleman et al.
patent: 6233725 (2001-05-01), Beadle et al.
patent: 196 25 834 (1998-01-01), None
patent: 0 703 552 (1996-03-01), None
patent: 0 784 257 (1997-07-01), None
patent: 9-330212 (1997-12-01), None
Hsieh et al, Javabytecode to native code tralslation: the caffeine prototype and preliminary results:, IEEE pp 90-97, 1996.*
Kim, “APIs for real time distributed object programming”, IEEE Computer, pp 72-80, 2000.*
Nishida et al, “Distribution of Ada tasks onto a heterogenous environment”, ACM, pp 155-165, 1991.*
Wallace et al, Haskell and XML: generic combinators or type based translation?, ICFP ACM pp 148-159, Sep. 1999.*
Price et al, “Natural Java: a natural language interface for programming in Java”, IUI ACM pp 207-211, Aug. 2000.*
IBM Technical Disclosure Bulletin, “Generating Multi-Platform Build Logic from Common Source Code,” vol. 40, No. 09, Sep. 1997, 97-100.
IBM Technical Disclosure Bulletin, “Generating Event Adapters to Facilitate Connections Between Java Beans,” vol. 41, No. 01, Jan. 1998, pp. 125-128.
IBM Technical Disclosure Bulletin, “Separating Strings from Standard Graphical User Interface Resources for Translation and Builds,” vol. 39, No. 03, Mar. 1996, pp. 217-228.
Hammer, J. et al., “Template-Based Wrappers in the TSIMMIS System,” ACM SIGMOD International Conference on Management of Data, Tuczon, Arizona, May 13-15, 1997, SIGMOND 1997, vol. 26, No. 2, Jun. 1997, pp. 532-535 (abstract—1 page).
Kolan, G., “Decompile Once, Run Anywhere—Protecting Your Java Source,” WEB Techniques, vol. 2, No. 9, pp. 40-42, 44-46, Sep. 1997 (abstract—1 page).
Stevens, A., “Kicking and Scripting: JavaScript and CGI,” Dobb's Journal, vol. 22, NO. 4, pp. 92-95, 97, 114, Apr. 1997 (abstract—1 page).

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Enabling multiple code generators in a translator-based... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Enabling multiple code generators in a translator-based..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Enabling multiple code generators in a translator-based... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2859808

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.