Repository logo
 

Mocha: type inference for Java

dc.contributor.authorMale, Christopher John
dc.date.accessioned2012-02-15T02:58:55Z
dc.date.accessioned2022-11-01T02:37:10Z
dc.date.available2012-02-15T02:58:55Z
dc.date.available2022-11-01T02:37:10Z
dc.date.copyright2009
dc.date.issued2009
dc.description.abstractStatic typing allows type errors to be revealed at compile time, which reduces the amount of maintenance and debugging that must occur later on. However, often the static type information included in source code is duplicate or redundant. Type inference resolves this issue by inferring the types of variables from their usage, allowing much of the type information to be omitted. This thesis formally describes Mocha, an extension to Java, which supports the inference of both local variable and field types. Mocha has unique support for local variables having different types at different program points which allows variables to be retyped due to certain conditional statements. It also includes a procedure for handling the effect Java exceptions have on the type inference process.en_NZ
dc.formatpdfen_NZ
dc.identifier.urihttps://ir.wgtn.ac.nz/handle/123456789/27709
dc.languageen_NZ
dc.language.isoen_NZ
dc.publisherTe Herenga Waka—Victoria University of Wellingtonen_NZ
dc.subjectComputer programming
dc.subjectInference
dc.subjectProgramming languages
dc.titleMocha: type inference for Javaen_NZ
dc.typeTexten_NZ
thesis.degree.disciplineComputer Scienceen_NZ
thesis.degree.grantorTe Herenga Waka—Victoria University of Wellingtonen_NZ
thesis.degree.levelMastersen_NZ
thesis.degree.nameMaster of Scienceen_NZ
vuwschema.type.vuwAwarded Research Masters Thesisen_NZ

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
thesis.pdf
Size:
19.67 MB
Format:
Adobe Portable Document Format

Collections