1. A method of providing extended functions in a digital device having code generator code of a first compartment for presenting a machine readable code conforming to an intercompartment language specification to an interpreter of a second compartment, comprising steps: preparing a list of unused opcodes according to a version of the intercompartment language specification implemented in the second compartment; publishing the list of unused opcodes to code of the first compartment; assigning opcodes to the extended functions where the opcodes assigned are unused opcodes in a version of the intercompartment language specification supported by the interpreter in the second compartment and also unused opcodes in a version of the intercompartment language specification of the first compartment; publishing a table of assigned opcodes comprising names of the extended functions assigned to each assigned opcode; generating generated machine readable instructions according to the intercompartment language specification; wherein the generated machine readable instructions incorporate at least one of the assigned opcodes.