{"id":{"repo_id":"uvic","oai_identifier":"oai:dspace.library.uvic.ca:1828/20046"},"canonical_url":"https://search.ndltd.org/etd/uvic/oai:dspace.library.uvic.ca:1828/20046","repository":{"repo_id":"uvic","name":"University of Victoria (Canada)","base_url":"https://dspace.library.uvic.ca/server/oai/request"},"display":{"title":"Compiling functional programming languages using class hierarchies","abstract":"This thesis presents a technique for translating functional programming languages into C++. A translator called f2cpp that uses the technique has been developed. It is shown that f2cpp can be used to integrate functional and imperative programs. A toy functional programming language called X is used by f2cpp. The translation of X into C++ is performed in two steps. Firstly, X is translated into an intermediate representation, and secondly, the intermediate representation is translated into C++. The second step is the crucial part of the whole translation. A C++ class hierarchy is used to represent A-expressions. The f2cpp translator proposed here is intended to augment the multiparadigm pro­gramming environment provided by the TOPIC system. TOPIC allows PROLOG to be used with C++. f2cpp enhances the TOPIC system and the enhanced system allows PROLOG , C++ and X to be used together in software development. The design of a programming language interpreter is presented to illustrate the use of this enhanced pro­gramming environment.","abstract_html":"This thesis presents a technique for translating functional programming languages into C++. A translator called f2cpp that uses the technique has been developed. It is shown that f2cpp can be used to integrate functional and imperative programs. A toy functional programming language called X is used by f2cpp. The translation of X into C++ is performed in two steps. Firstly, X is translated into an intermediate representation, and secondly, the intermediate representation is translated into C++. The second step is the crucial part of the whole translation. A C++ class hierarchy is used to represent A-expressions. The f2cpp translator proposed here is intended to augment the multiparadigm pro­gramming environment provided by the TOPIC system. TOPIC allows PROLOG to be used with C++. f2cpp enhances the TOPIC system and the enhanced system allows PROLOG , C++ and X to be used together in software development. The design of a programming language interpreter is presented to illustrate the use of this enhanced pro­gramming environment.","abstract_has_math":false,"creators":["Wang, Xiaohong"],"institution":null,"degree_name":null,"degree_level":"Master of Science M.Sc.","degree_discipline":null,"degree_department":"Department of Computer Science","school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":1991,"date_issued":"1991","date_published":"1991","updated_at":"2026-11-19T09:47:45Z","subjects":[],"languages":[],"rights":["Available to the World Wide Web"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1828/20046","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1828/20046","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://dspace.library.uvic.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adspace.library.uvic.ca%3A1828%2F20046","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Wang, Xiaohong"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2024-08-15T20:13:24Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2024-08-15T20:13:24Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["1991"]},{"key":"dc:date.issued","label":"Date","values":["1991"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_department","label":"Department","values":["Department of Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master of Science M.Sc."]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["Available to the World Wide Web"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1828/20046"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["This thesis presents a technique for translating functional programming languages into C++. A translator called f2cpp that uses the technique has been developed. It is shown that f2cpp can be used to integrate functional and imperative programs. A toy functional programming language called X is used by f2cpp. The translation of X into C++ is performed in two steps. Firstly, X is translated into an intermediate representation, and secondly, the intermediate representation is translated into C++. The second step is the crucial part of the whole translation. A C++ class hierarchy is used to represent A-expressions. The f2cpp translator proposed here is intended to augment the multiparadigm pro­gramming environment provided by the TOPIC system. TOPIC allows PROLOG to be used with C++. f2cpp enhances the TOPIC system and the enhanced system allows PROLOG , C++ and X to be used together in software development. The design of a programming language interpreter is presented to illustrate the use of this enhanced pro­gramming environment."]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["89 pages"]},{"key":"dc:title","label":"Title","values":["Compiling functional programming languages using class hierarchies"]}]}],"canonical_facts":{"dc:creator":["Wang, Xiaohong"],"dc:date.accessioned":["2024-08-15T20:13:24Z"],"dc:date.available":["2024-08-15T20:13:24Z"],"dc:date.copyright":["1991"],"dc:date.issued":["1991"],"dc:description.abstract":["This thesis presents a technique for translating functional programming languages into C++. A translator called f2cpp that uses the technique has been developed. It is shown that f2cpp can be used to integrate functional and imperative programs. A toy functional programming language called X is used by f2cpp. The translation of X into C++ is performed in two steps. Firstly, X is translated into an intermediate representation, and secondly, the intermediate representation is translated into C++. The second step is the crucial part of the whole translation. A C++ class hierarchy is used to represent A-expressions. The f2cpp translator proposed here is intended to augment the multiparadigm pro­gramming environment provided by the TOPIC system. TOPIC allows PROLOG to be used with C++. f2cpp enhances the TOPIC system and the enhanced system allows PROLOG , C++ and X to be used together in software development. The design of a programming language interpreter is presented to illustrate the use of this enhanced pro­gramming environment."],"dc:format.extent":["89 pages"],"dc:identifier.uri":["https://hdl.handle.net/1828/20046"],"dc:rights":["Available to the World Wide Web"],"dc:title":["Compiling functional programming languages using class hierarchies"],"dc:type":["Thesis"],"thesis:degree_department":["Department of Computer Science"],"thesis:degree_level":["Master of Science M.Sc."]},"updated_at":"2026-11-19T09:47:45Z"}