Skip navigation
  • Home
  • Browse
    • Communities
      & Collections
    • Browse Items by:
    • Publication Date
    • Author
    • Title
    • Subject
    • Department
  • Sign on to:
    • My MacSphere
    • Receive email
      updates
    • Edit Profile


McMaster University Home Page
  1. MacSphere
  2. Open Access Dissertations and Theses Community
  3. Digitized Open Access Dissertations and Theses
Please use this identifier to cite or link to this item: http://hdl.handle.net/11375/21291
Title: Testing Grammars for Top-Down Parsers
Authors: Paracha, Asma M.
Advisor: Franek, Frantisek
Department: Computing and Software
Publication Date: Dec-2008
Abstract: During the past decades, the complexity of compilers has grown much and so has the importance of testing them. Compiler is essentially a software tool, and hence its testing should fulfill all the software testing criteria. Testing is the process of finding errors in an application by executing it. It is one of the essential and most time consuming phases of software development. Hence a lot of effort is directed to fully automate this process, making it more reliable, repeatable, less time consuming, less boring, and less expensive. Test cases for compiler should be generated so that they cover all possible valid and invalid input conditions. One of the major problems in generating test cases is the completeness of coverage, and the potentially unfeasible size of the generated test data. The test data for compilers should ideally cover all the syntax and semantic rules of the language in all possible combinations and in all possible contexts. When generating test cases for a compiler, the grammar act as the foundation as it defines the language for which the compiler is being built. In this research we addressed the issue of automatic generation of test data for parsers by implementing Purdom's algorithm in Java and C++ and generating test data for MAGS compiler.
Description: Title: Testing Grammars for Top-Down Parsers, Author: Asma M. Paracha, Location: Thode
URI: http://hdl.handle.net/11375/21291
Appears in Collections:Digitized Open Access Dissertations and Theses

Files in This Item:
File Description SizeFormat 
Paracha_Asma_M_2008_12_master.pdf
Open Access
Title: Testing Grammars for Top-Down Parsers, Author: Asma M. Paracha, Location: Thode20.69 MBAdobe PDFView/Open
Show full item record Statistics


Items in MacSphere are protected by copyright, with all rights reserved, unless otherwise indicated.

Sherman Centre for Digital Scholarship     McMaster University Libraries
©2022 McMaster University, 1280 Main Street West, Hamilton, Ontario L8S 4L8 | 905-525-9140 | Contact Us | Terms of Use & Privacy Policy | Feedback

Report Accessibility Issue