A computer-readable medium having stored thereon a first set of instructions, said first set of instructions provided for processing a Web document, said first set of instructions, which, when executed by a processor, cause said processor to perform the steps of:
- decoding by said first set of instructions a first statement provided by said Web document, said first statement including a first command and at least one instruction provided as an argument to said first command;
- issuing by said first set of instructions said first command provided by said Web document to be executed;
- in response to an execution of said first command, decoding by said first set of instructions said one instruction provided as said argument to said command and issuing said one instruction to be executed;
- and
- providing new Web document processing functionality to said first set of instructions upon execution of said one instruction provided by said first statement of said Web document.