A code generator based on RDF