Implementing Overloading and Polymorphism in Cforall

dc.contributor.authorBilson, Richard C.en
dc.date.accessioned2006-08-22T14:20:59Z
dc.date.available2006-08-22T14:20:59Z
dc.date.issued2003en
dc.date.submitted2003en
dc.description.abstractThe programming language Cforall extends the C language with, among other things, overloading, parametric polymorphism, and functions that can return multiple values from a single call. This thesis presents an outline of the first implementation of the core Cforall language. An effective implementation of Cforall requires complete support for new language constructs while preserving the behaviour and efficiency of existing C programs. Analyzing the meaning of Cforall programs requires significantly more sophisticated techniques than are necessary for C programs; existing techniques for the analysis of overloading and polymorphism are adapted and extended to apply to Cforall. Three strategies for generating code for polymorphic programs are compared, using plain C as an intermediate representation. Finally, a realistic Cforall program is presented and characteristics of the generated C code are examined.en
dc.formatapplication/pdfen
dc.format.extent381301 bytes
dc.format.mimetypeapplication/pdf
dc.identifier.urihttp://hdl.handle.net/10012/1166
dc.language.isoenen
dc.pendingfalseen
dc.publisherUniversity of Waterlooen
dc.rightsCopyright: 2003, Bilson, Richard C.. All rights reserved.en
dc.subjectComputer Scienceen
dc.subjectprogramming languagesen
dc.subjectoverloadingen
dc.subjectpolymorphismen
dc.subjectCforallen
dc.titleImplementing Overloading and Polymorphism in Cforallen
dc.typeMaster Thesisen
uws-etd.degreeMaster of Mathematicsen
uws-etd.degree.departmentSchool of Computer Scienceen
uws.peerReviewStatusUnrevieweden
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
rcbilson2003.pdf
Size:
372.36 KB
Format:
Adobe Portable Document Format