{"id":{"repo_id":"gatech","oai_identifier":"oai:repository.gatech.edu:1853/7486"},"canonical_url":"https://search.ndltd.org/etd/gatech/oai:repository.gatech.edu:1853/7486","repository":{"repo_id":"gatech","name":"Georgia Tech","base_url":"https://repository.gatech.edu/server/oai/request"},"display":{"title":"Demand-Driven Type Inference with Subgoal Pruning","abstract":"Highly dynamic languages like Smalltalk do not have much static type information immediately available before the program runs. Static types can still be inferred by analysis tools, but historically, such analysis is only effective on smaller programs of at most a few tens of thousands of lines of code. This dissertation presents a new type inference algorithm, DDP, that is effective on larger programs with hundreds of thousands of lines of code. The approach of the algorithm borrows from the field of knowledge-based systems: it is a demand-driven algorithm that sometimes prunes subgoals. The algorithm is formally described, proven correct, and implemented. Experimental results show that the inferred types are usefully precise. A complete program understanding application, Chuck, has been developed that uses DDP type inferences. This work contributes the DDP algorithm itself, the most thorough semantics of Smalltalk to date, a new general approach for analysis algorithms, and experimental analysis of DDP including determination of useful parameter settings. It also contributes an implementation of DDP, a general analysis framework for Smalltalk, and a complete end-user application that uses DDP.","abstract_html":"Highly dynamic languages like Smalltalk do not have much static type information immediately available before the program runs. Static types can still be inferred by analysis tools, but historically, such analysis is only effective on smaller programs of at most a few tens of thousands of lines of code. This dissertation presents a new type inference algorithm, DDP, that is effective on larger programs with hundreds of thousands of lines of code. The approach of the algorithm borrows from the field of knowledge-based systems: it is a demand-driven algorithm that sometimes prunes subgoals. The algorithm is formally described, proven correct, and implemented. Experimental results show that the inferred types are usefully precise. A complete program understanding application, Chuck, has been developed that uses DDP type inferences. This work contributes the DDP algorithm itself, the most thorough semantics of Smalltalk to date, a new general approach for analysis algorithms, and experimental analysis of DDP including determination of useful parameter settings. It also contributes an implementation of DDP, a general analysis framework for Smalltalk, and a complete end-user application that uses DDP.","abstract_has_math":false,"creators":["Spoon, Steven Alexander"],"institution":"Georgia Institute of Technology","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":"Computing","school":null,"contributors":[],"advisors":["Shivers, Olin"],"committee_chairs":[],"committee_members":["Agesen, Ole","Harrold, Mary Jean","Rugaber, Spencer","Smaragdakis, Yannis"],"year":2005,"date_issued":"2005-08-29","date_published":"2005-08-29","updated_at":"2026-11-19T05:59:24Z","subjects":["Program understanding","Types","Smalltalk","Programming tools","Program analysis","Data flow","Type inference","Dynamic programming","Smalltalk (Computer program language)","Algorithms","Computer interfaces"],"languages":["en_US"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"http://hdl.handle.net/1853/7486","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"http://hdl.handle.net/1853/7486","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://repository.gatech.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.gatech.edu%3A1853%2F7486","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Shivers, Olin"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Agesen, Ole","Harrold, Mary Jean","Rugaber, Spencer","Smaragdakis, Yannis"]},{"key":"dc:contributor.department","label":"Department","values":["Computing"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["College of Computing"]},{"key":"dc:creator","label":"Author","values":["Spoon, Steven Alexander"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2006-01-18T22:15:27Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2006-01-18T22:15:27Z"]},{"key":"dc:date.issued","label":"Date","values":["2005-08-29"]},{"key":"dc:publisher","label":"Institution","values":["Georgia Institute of Technology"]},{"key":"dc:relation.ispartofseries","label":"Dc Relation Ispartofseries","values":["Doctor of Philosophy with a Major in Computer Science"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021"]},{"key":"dc:relation.seriesentity","label":"Dc Relation Seriesentity","values":["41e6384f-fa8d-4c63-917f-a26900b10f64"]},{"key":"dc:type","label":"Dc Type","values":["Text","Dissertation"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Program understanding","Types","Smalltalk","Programming tools","Program analysis","Data flow","Type inference"]},{"key":"dc:subject.lcsh","label":"Dc Subject Lcsh","values":["Dynamic programming","Smalltalk (Computer program language)","Algorithms","Computer interfaces"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_US"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1853/7486"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Highly dynamic languages like Smalltalk do not have much static type information immediately available before the program runs. Static types can still be inferred by analysis tools, but historically, such analysis is only effective on smaller programs of at most a few tens of thousands of lines of code. This dissertation presents a new type inference algorithm, DDP, that is effective on larger programs with hundreds of thousands of lines of code. The approach of the algorithm borrows from the field of knowledge-based systems: it is a demand-driven algorithm that sometimes prunes subgoals. The algorithm is formally described, proven correct, and implemented. Experimental results show that the inferred types are usefully precise. A complete program understanding application, Chuck, has been developed that uses DDP type inferences. This work contributes the DDP algorithm itself, the most thorough semantics of Smalltalk to date, a new general approach for analysis algorithms, and experimental analysis of DDP including determination of useful parameter settings. It also contributes an implementation of DDP, a general analysis framework for Smalltalk, and a complete end-user application that uses DDP."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Ph.D."]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["1450596 bytes"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Demand-Driven Type Inference with Subgoal Pruning"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"dc:contributor.advisor":["Shivers, Olin"],"dc:contributor.committeemember":["Agesen, Ole","Harrold, Mary Jean","Rugaber, Spencer","Smaragdakis, Yannis"],"dc:contributor.department":["Computing"],"dc:contributor.other":["College of Computing"],"dc:creator":["Spoon, Steven Alexander"],"dc:date.accessioned":["2006-01-18T22:15:27Z"],"dc:date.available":["2006-01-18T22:15:27Z"],"dc:date.issued":["2005-08-29"],"dc:description.abstract":["Highly dynamic languages like Smalltalk do not have much static type information immediately available before the program runs. Static types can still be inferred by analysis tools, but historically, such analysis is only effective on smaller programs of at most a few tens of thousands of lines of code. This dissertation presents a new type inference algorithm, DDP, that is effective on larger programs with hundreds of thousands of lines of code. The approach of the algorithm borrows from the field of knowledge-based systems: it is a demand-driven algorithm that sometimes prunes subgoals. The algorithm is formally described, proven correct, and implemented. Experimental results show that the inferred types are usefully precise. A complete program understanding application, Chuck, has been developed that uses DDP type inferences. This work contributes the DDP algorithm itself, the most thorough semantics of Smalltalk to date, a new general approach for analysis algorithms, and experimental analysis of DDP including determination of useful parameter settings. It also contributes an implementation of DDP, a general analysis framework for Smalltalk, and a complete end-user application that uses DDP."],"dc:description.degree":["Ph.D."],"dc:format.extent":["1450596 bytes"],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["http://hdl.handle.net/1853/7486"],"dc:language.iso":["en_US"],"dc:publisher":["Georgia Institute of Technology"],"dc:relation.ispartofseries":["Doctor of Philosophy with a Major in Computer Science"],"dc:relation.orgunit":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021"],"dc:relation.seriesentity":["41e6384f-fa8d-4c63-917f-a26900b10f64"],"dc:subject":["Program understanding","Types","Smalltalk","Programming tools","Program analysis","Data flow","Type inference"],"dc:subject.lcsh":["Dynamic programming","Smalltalk (Computer program language)","Algorithms","Computer interfaces"],"dc:title":["Demand-Driven Type Inference with Subgoal Pruning"],"dc:type":["Text","Dissertation"],"dspace:entity.type":["Publication"]},"updated_at":"2026-11-19T05:59:24Z"}