1. A method of generating code, comprising: receiving a specification of one or more translation patterns; using at least one of the one or more translation patterns to generate using a processor at least a portion of a first code associated with a first translator, wherein the first translator is configured to create a target object model, including by populating one or more elements of the target object model in a processing order at least in part associated with an order of elements in at least one of the one or more translation patterns; using at least one of the one or more translation patterns to generate at least a portion of a second code associated with a second translator; and connecting together the first translator and the second translator to form at least a portion of a converter.