A Language-Independent Approach to Generating Comprehensive Random Programs

Furkejuvvon:
Bibliográfalaš dieđut
Publikašuvnnas:ProQuest Dissertations and Theses (2024)
Váldodahkki: Rodrigues, Melburne
Almmustuhtton:
ProQuest Dissertations & Theses
Fáttát:
Liŋkkat:Citation/Abstract
Full Text - PDF
Fáddágilkorat: Lasit fáddágilkoriid
Eai fáddágilkorat, Lasit vuosttaš fáddágilkora!

MARC

LEADER 00000nab a2200000uu 4500
001 3112841604
003 UK-CbPIL
020 |a 9798384461418 
035 |a 3112841604 
045 2 |b d20240101  |b d20241231 
084 |a 66569  |2 nlm 
100 1 |a Rodrigues, Melburne 
245 1 |a A Language-Independent Approach to Generating Comprehensive Random Programs 
260 |b ProQuest Dissertations & Theses  |c 2024 
513 |a Dissertation/Thesis 
520 3 |a A vast majority of software running on a computer has been processed by a compiler. Given their ubiquitous nature and critical role in the software development process, ensuring their correctness, reliability, and performance is of great importance, yet writing comprehensive tests for compilers remains a challenge. Manually writing test programs is labor-intensive and prone to biases and errors. While existing test program generators are capable of generating programs with complex statements, they often lack versatility and extensibility across different programming languages. We present GEMCEAS (Grammar Enhanced Monte Carlo Engine for App Simulation), a language-independent approach to generating random programs that serve as benchmarks for testing compilers and other program analysis tools. GEMCEAS accepts an EBNF-style language grammar to ensure the generated programs are syntactically correct, and references a language specification encoded as a Prolog knowledge base for semantic validation. We implement our tool for Java and a simple language for arithmetic expressions, and discuss the results of our experiments in this thesis. 
653 |a Computer science 
653 |a Engineering 
653 |a Artificial intelligence 
773 0 |t ProQuest Dissertations and Theses  |g (2024) 
786 0 |d ProQuest  |t ProQuest Dissertations & Theses Global 
856 4 1 |3 Citation/Abstract  |u https://www.proquest.com/docview/3112841604/abstract/embedded/6A8EOT78XXH2IG52?source=fedsrch 
856 4 0 |3 Full Text - PDF  |u https://www.proquest.com/docview/3112841604/fulltextPDF/embedded/6A8EOT78XXH2IG52?source=fedsrch