Patent ID: 8185868

Claim:
In an electronic device hosting a technical computing environment, a method of interactive editing and/or publishing, the method comprising: providing a first view of program code to a user in an editor in an interpreted language development environment, wherein the program code are executable code; selecting a code cell from the program code, the code cell being a contiguous subsection of code from the program code, the code cell including two or more lines from the program code provided in the first view; running an evaluation process on the selected code cell in the first view of the program code, the evaluation process executing the two or more lines of the program code included in the selected code cell using an interpreter without executing portions of the program code not included in the selected code cell, the evaluation process generating a result of the execution of the two or more lines of the program code, the evaluation process being run without first saving the selected code cell to a separate file; displaying the result to a user via a second view; saving individually the selected code cell following the display of the result in the second view; and publishing the selected code cell together with other selected code cells into a single document in a selected format, wherein the published code cells are arranged sequentially in the document.