1. A processor implemented method for processing at least one page in a document, wherein the document is described using an interpreted page description language (“PDL”), the method comprising: parsing the PDL document to identify a function based operator in the PDL document; generating program code in a programming language, wherein the program code is functionally equivalent to the function based operator; compiling the program code to generate a shared object and dynamically linking to the entry point of the shared object; and invoking the shared object associated with the function based operator when the function based operator is processed.