Evaluation of a code segment
Abstract
Methods, systems, and media to test a code segment of a source file are disclosed. Various embodiments machine-render a source code skeleton in response to a selection of the code segment, incorporate the code segment into the source code skeleton to generate a temporary source file, insert a monitoring statement into the temporary source file, and compile the temporary source file into a compiled program to output a result. Embodiments may further include executing the compiled program and outputting the result. In addition, some embodiments also initiate compilation of the temporary source file, attempt to resolve a compilation error, and output the compilation error. Some embodiments terminate execution in response to selection of a cancel button. Further, some embodiments delete the temporary source file. Several embodiments also include a file creator, a code gatherer, a code generator, an adaptive compiler, a processor, and an output device.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 33.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method to test a code segment of a source file, comprising: selecting the code segment from the source file for testing based upon input from a user, the code segment being self-contained; machine-rendering a source code skeleton in response selecting the code segment, wherein machine-rendering comprises choosing additional code to include in the source code skeleton to supplement the code segment for compilation; verifying whether the code segment has an entry point to determine that the code segment does not have an entry point; inserting the entry point into the source code skeleton in re
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 33 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (2)
- "Getting Started with the Eclipse Platform" David Gallardo, Nov. 1 2002.
- David Gallardo, "Getting Started with the Eclipse Platform", Nov. 1 2002.