9. A computer-implemented method of generating a graphical user interface for an application, comprising the steps of: parsing an application interface file, application source code file, and interface grammar file, wherein the application interface file specifies a plurality of graphical elements within an interface library to be displayed for a graphical user interface, the application source code file specifies an application logic for the application, and the interface grammar file specifies rules to be used in parsing the application interface file; the interface library that comprises a plurality of graphical elements that are selectively retrieved in accordance with the specifications of the application interface file and the interface grammar file; determining within the application source code file a reference to the application interface file; determining by reference to the interface grammar file whether a function call specified by the application source code file is allowed; communicating the function call to the interface library; and retrieving from the interface library the plurality of graphical elements in accordance with the specifications of the application interface file and the interface grammar file, and generating the graphical user interface.
12. The method of claim 9 wherein the application interface file to be used is selected depending on the type of device used by a user.