{"id":{"repo_id":"sjsu","oai_identifier":"oai:scholarworks.sjsu.edu:etd_projects-1386"},"canonical_url":"https://search.ndltd.org/etd/sjsu/oai:scholarworks.sjsu.edu:etd_projects-1386","repository":{"repo_id":"sjsu","name":"San Jose State University","base_url":"https://scholarworks.sjsu.edu/do/oai/"},"display":{"title":"Operational Semantics for Featherweight Lua","abstract":"Lua is a small, embedded language to provide scripting in other languages. De- spite a clean, minimal syntax, it is still too complex for formal reasoning because of some syntactic sugar or specific syntax structures in Lua. This thesis develops Featherweight Lua (FWLua), following the tradition of lan- guages like Featherweight Java[1] and Featherweight JavaScript[2]. The goal is to develop a core of language features that, while remaining simple enough for formal reasoning, also remain faithful to the central characteristics of the language. Specifi- cally for Lua, the core features that are essential for our modeling include: ∙ First-class functions ∙ Tables as the central data construct ∙ Metatables that provide various “hooks” to change the behavior of tables To further validate this approach, we show how an extensive set of features from the full Lua programming language can be reduced to FWLua. Finally, we include a reference implementation written in Haskell as a tool for further testing and experimenting with the language. With this research, we provide a basis for future research into the Lua programming language.","abstract_html":"Lua is a small, embedded language to provide scripting in other languages. De- spite a clean, minimal syntax, it is still too complex for formal reasoning because of some syntactic sugar or specific syntax structures in Lua. This thesis develops Featherweight Lua (FWLua), following the tradition of lan- guages like Featherweight Java[1] and Featherweight JavaScript[2]. The goal is to develop a core of language features that, while remaining simple enough for formal reasoning, also remain faithful to the central characteristics of the language. Specifi- cally for Lua, the core features that are essential for our modeling include: ∙ First-class functions ∙ Tables as the central data construct ∙ Metatables that provide various “hooks” to change the behavior of tables To further validate this approach, we show how an extensive set of features from the full Lua programming language can be reduced to FWLua. Finally, we include a reference implementation written in Haskell as a tool for further testing and experimenting with the language. With this research, we provide a basis for future research into the Lua programming language.","abstract_has_math":false,"creators":["LIN, Hanshu"],"institution":null,"degree_name":"Master of Science (MS)","degree_level":null,"degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":["Thomas H. Austin","Ron Mak","Chris Pollett"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-26T14:03:10Z","subjects":["Lua Featherwight Language Semantics","Programming Languages and Compilers"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier","label":"Identifier","values":["https://scholarworks.sjsu.edu/etd_projects/387"],"render_values":[{"text":"https://scholarworks.sjsu.edu/etd_projects/387","href":"https://scholarworks.sjsu.edu/etd_projects/387","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.31979/etd.xysf-s2af","outbound_label":"DOI","outbound_source":"dc:identifier","record_url":"https://doi.org/10.31979/etd.xysf-s2af","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Asjsu%3Aoai%3Ascholarworks.sjsu.edu%3Aetd_projects-1386","prefix":"oai_dc"},"source_record":{"url":"https://scholarworks.sjsu.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Ascholarworks.sjsu.edu%3Aetd_projects-1386","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Thomas H. Austin","Ron Mak","Chris Pollett"]},{"key":"dc:creator","label":"Author","values":["LIN, Hanshu"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["2015-05-12T07:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2015-05-13T07:00:00Z"]},{"key":"dc:type","label":"Dc Type","values":["Master's Project"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MS)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Lua Featherwight Language Semantics","Programming Languages and Compilers"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://doi.org/10.31979/etd.xysf-s2af","https://scholarworks.sjsu.edu/etd_projects/387"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Lua is a small, embedded language to provide scripting in other languages. De- spite a clean, minimal syntax, it is still too complex for formal reasoning because of some syntactic sugar or specific syntax structures in Lua. This thesis develops Featherweight Lua (FWLua), following the tradition of lan- guages like Featherweight Java[1] and Featherweight JavaScript[2]. The goal is to develop a core of language features that, while remaining simple enough for formal reasoning, also remain faithful to the central characteristics of the language. Specifi- cally for Lua, the core features that are essential for our modeling include: ∙ First-class functions ∙ Tables as the central data construct ∙ Metatables that provide various “hooks” to change the behavior of tables To further validate this approach, we show how an extensive set of features from the full Lua programming language can be reduced to FWLua. Finally, we include a reference implementation written in Haskell as a tool for further testing and experimenting with the language. With this research, we provide a basis for future research into the Lua programming language."]},{"key":"dc:title","label":"Title","values":["Operational Semantics for Featherweight Lua"]}]}],"canonical_facts":{"dc:contributor":["Thomas H. Austin","Ron Mak","Chris Pollett"],"dc:creator":["LIN, Hanshu"],"dc:date.available":["2015-05-12T07:00:00Z"],"dc:date.created":["2015-05-13T07:00:00Z"],"dc:description.abstract":["Lua is a small, embedded language to provide scripting in other languages. De- spite a clean, minimal syntax, it is still too complex for formal reasoning because of some syntactic sugar or specific syntax structures in Lua. This thesis develops Featherweight Lua (FWLua), following the tradition of lan- guages like Featherweight Java[1] and Featherweight JavaScript[2]. The goal is to develop a core of language features that, while remaining simple enough for formal reasoning, also remain faithful to the central characteristics of the language. Specifi- cally for Lua, the core features that are essential for our modeling include: ∙ First-class functions ∙ Tables as the central data construct ∙ Metatables that provide various “hooks” to change the behavior of tables To further validate this approach, we show how an extensive set of features from the full Lua programming language can be reduced to FWLua. Finally, we include a reference implementation written in Haskell as a tool for further testing and experimenting with the language. With this research, we provide a basis for future research into the Lua programming language."],"dc:identifier":["https://doi.org/10.31979/etd.xysf-s2af","https://scholarworks.sjsu.edu/etd_projects/387"],"dc:subject":["Lua Featherwight Language Semantics","Programming Languages and Compilers"],"dc:title":["Operational Semantics for Featherweight Lua"],"dc:type":["Master's Project"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_name":["Master of Science (MS)"]},"updated_at":"2026-11-26T14:03:10Z"}