Method and apparatus for converting programs and source code files written in a programming language to equivalent markup language files
Abstract
A method and apparatus for converting programs and source code files written in a programming language to equivalent markup language files is provided. The conversion may be accomplished by a static process or by a dynamic process. In a static process, a programming source code file is converted by an application to a markup language file. A document type definition file for a markup language is parsed; a source code statement from a source code file is parsed; an element defined in the document type definition file is selected based on an association between the element and an identifier of a routine in the source code statement; and the selected element is written to a markup language file. In a dynamic process, the program is executed to generate the markup language file that corresponds to the source code file or presentation steps of the program. The application program is executed; a document type definition file for a markup language is provided as input; an element defined in the document type definition file is selected based on a routine called by the application program; and the selected element is written to a markup language file.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 26.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of dynamically translating an application program into a markup language file, the method comprising the computer-implemented steps of: executing said application program; parsing a document type definition file for a markup language; during execution of said application program, selecting an element defined in the document type definition file based on a routine called by said application program; and writing the selected element to a markup language file to form a translation.
- Claim 2Depends on #1
The method of claim 1 wherein the element comprises an attribute list corresponding to parameters for the routine.
- Claim 3Depends on #1
The method of claim 1 wherein the selected element written to the markup language file comprises an attribute list corresponding to values for the parameters passed to the routine.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 26 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- Anonymous, "Adobe Submits Proposal to Improve Quality of Web Graphics with IBM, Netscape, and Sun", Apr. 13, 1998, World Wide Web Consortium (W3C), pp. 1-3.
- Cover, Robin, "The XML Cover Pages", IBM and Adobe Collaborate on Web Publishing Technology, Nov. 16, 1998, pp. 1-3.
- Precision Graphics Markup Language, World Wide Web Consortium Note, Apr. 10, 1998.
- Roberts, Mark, "Graphic Element Markup", May 1999, http://www.infoloom.com/gcaconfs/WEB/grandada99/robm.HTM, pp. 1-26.
- Villacis et al., "A Web Inteface to Parallel Program Source Code Archetypes", 1995, ACM, Inc., pp. 1-16.