Python BNF Converter - Extending the languages supported by BNFC with Python
dc.contributor.author | Werner, Björn | |
dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
dc.contributor.department | Chalmers University of Technology / Department of Computer Science and Engineering | en |
dc.contributor.examiner | Bernardy, Jean-Philippe | |
dc.contributor.supervisor | Ranta, Aarne | |
dc.date.accessioned | 2025-01-08T10:27:09Z | |
dc.date.available | 2025-01-08T10:27:09Z | |
dc.date.issued | 2024 | |
dc.date.submitted | ||
dc.description.abstract | Given a specified grammar for some language, the BNFC tool can generate code for lexing and parsing input in that language. The project consists of extending the supported languages of BNFC to also include Python. To verify the usefulness of the implementation, a series of tests and exercises were carried out for a grammar of a subset of C++, comparing the functionality of the generated Python code to other generated parsers by BNFC, as well as coding a typechecker, interpreter and a compiler. | |
dc.identifier.coursecode | DATX05 | |
dc.identifier.uri | http://hdl.handle.net/20.500.12380/309053 | |
dc.language.iso | eng | |
dc.setspec.uppsok | Technology | |
dc.title | Python BNF Converter - Extending the languages supported by BNFC with Python | |
dc.type.degree | Examensarbete för masterexamen | sv |
dc.type.degree | Master's Thesis | en |
dc.type.uppsok | H | |
local.programme | Computer science – algorithms, languages and logic (MPALG), MSc |