~/talk

Grammar-Based Testing for Little Languages: An Experience Report with Student Compilers

Talkat SLE 2020 · 2020-11-16..11-17· [testing]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Evaluates grammar-based test generation on a small teaching language called Ample and claims generated suites reach parity with manual suites for crash testing but not for coverage or parsing-error detection. Uses 61 final submissions from a student compiler course, compares systematic coverage algorithms vs random derivations, shows very large random sets (about 6000 tests / 0.5M tokens) match manual crash-finding, and adds lightweight semantic rendering using dcl and ref markup to inject and detect scoping and typing faults.

AI-written summary · about

  1. 0:00Intro
  2. 0:21The $64,000 Question of Compiler Testing
  3. 1:14Experimental Setup: A Modest Programming Language S Starting point: example language used in second-year computer architecture course
  4. 4:55Random test suites outperform systematic test suites of comparable size but trail behind the manual test suite.
  5. 9:41Breaking the rules We can inject specific errors by overwriting mark-up mediator mappings
  6. 11:00Encoding typing rules - The basic idea . add type annotations to rules
  7. 12:47Results of semantic testing
  8. 13:32Conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.