A self-generating automatic code generation system includes a user interface for capturing a set of knowledge and rules that define an application; a first automatic code generator for generating code for the application using the set of knowledge and rules; a user-interface for capturing a set of knowledge and rules that define a new feature to be added to the application; and a second automatic code generator supporting the new feature that was automatically generated by the first automatic code generator using the set of knowledge and rules defining the new feature as well as a set of knowledge and rules defining the first automatic code generator, wherein the second automatic code generator is to regenerate the code for the application such that the application includes the new feature using a set of knowledge and rules for generating the application as well as a set of knowledge and rules for using the new feature.
展开▼