Content area

Abstract

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.

Details

1010268
Business indexing term
Title
A Language-Independent Approach to Generating Comprehensive Random Programs
Number of pages
103
Publication year
2024
Degree date
2024
School code
0799
Source
MAI 86/4(E), Masters Abstracts International
ISBN
9798384461418
Committee member
Pina, Luís; Glavic, Boris
University/institution
University of Illinois at Chicago
Department
Computer Science
University location
United States -- Illinois
Degree
M.S.
Source type
Dissertation or Thesis
Language
English
Document type
Dissertation/Thesis
Dissertation/thesis number
31693782
ProQuest document ID
3112841604
Document URL
https://www.proquest.com/dissertations-theses/language-independent-approach-generating/docview/3112841604/se-2?accountid=208611
Copyright
Database copyright ProQuest LLC; ProQuest does not claim copyright in the individual underlying works.
Database
ProQuest One Academic