Interpreter language processing device
AssigneeFujitsu Limited
InventorsMasayuki Fukushiro, Daijoh Nakayama
Life of this patent
Estimating the term…
Abstract
A device for executing a main program written in an interpreter language includes a processing unit for executing a program written in the interpreter language and a monitor program which is written in the interpreter language for monitoring the execution of the main program. The device further includes a first switching unit for switching the processing unit from executing the main program to executing the monitor program after an execution of one execution unit of the main program, and a second switching unit for switching the processing unit from executing the monitor program to executing the main program after an execution of the monitor program.
Claims11
A device for executing a main program written in an interpreter language, said device comprising:
- processing means for executing a program written in said interpreter language;
- a monitor program which is written in said interpreter language for monitoring an execution of said main program;
- first switching means for switching said processing means from executing said main program to executing said monitor program after an execution of one execution unit of said main program;
- second switching means for switching said processing means from executing said monitor program to executing said main program after an execution of said monitor program;
- user-interface processing means for providing an interactive interface between said device and a user, said user-interface processing means being activated after said execution of said monitor program if a halt instruction is executed during said execution of said monitor program;
- wherein said processing means comprises:
- instruction processing means for executing instructions of said main program;
- and
- halt-instruction processing means for sending a halt message when a halt instruction in said monitor program is executed by said instruction processing unit,
- and wherein said second switching means comprises:
- holding means for receiving and holding said halt message;
- switching processing means for switching said processing means from executing said monitor program to executing said main program in the absence of said halt message in said holding means;
- and
- a interaction-activation means for activating said user-interface processing means after said execution of said monitor program in the presence of said halt message in said holding means.
Dependencies are inferred from the claim text.