×

Dynamic communication between script and execution layers

  • US 9,104,451 B2
  • Filed: 11/26/2012
  • Issued: 08/11/2015
  • Est. Priority Date: 11/26/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method of dynamically communicating a parameter during runtime between a command-line scripting module and a virtual machine, the method comprising:

  • providing a script to a command-line scripting module, wherein;

    the script executes a function that requires the parameter; and

    the script does not provide the parameter to the function;

    generating byte code for the function, wherein try-catch code is automatically inserted around code that uses the parameter in the function;

    executing the byte code on a virtual machine until an exception is generated because the parameter was not provided to the function, wherein the function is unable to request the parameter as a user input during runtime;

    passing the exception from the virtual machine to the command-line scripting module;

    extracting a parameter identifier from the exception at the command-line scripting module;

    generating output using the parameter identifier at the command-line scripting module, wherein the output requests the parameter;

    receiving input at the command-line scripting module that includes the parameter;

    re-executing the byte code with the parameter.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×