A Design Recipe and Recipe-Based Errors for Regular Expressions
This article presents a novel framework to provide Formal Languages and Automata Theory students design support for the development of regular expressions.This framework includes a design recipe for regular expressions and a customized error messaging system.The error messaging system produces recipe-based errors that include the step of the design recipe not successfully completed.Furthermore, the error messages follow the established practices of being concise, succinct, jargon-free, and nonprescriptive.In addition, a shorthand syntax developed for writing unit tests is described.The in-class use of the design recipe is illustrated, two debugging sessions using the described system are discussed, and the implementation of the error messaging system is briefly sketched.
Authors
- Marco T. Morazán (ORCID: https://orcid.org/0000-0003-4670-6116)
- Shamil Dzhatdoyev
- Tijana Minić (ORCID: https://orcid.org/0009-0009-3344-383X)
- Andrés M. Garced
- David Anthony K. Fields
- Josephine Des Rosiers
Institutions
- Seton Hall University (US)
- University of Washington (US)
- Penguin Random House (United States) (US)
- AXON Neuroscience (Slovakia) (SK)
Publication Details
- Journal
- Electronic Proceedings in Theoretical Computer Science
- Published
- 2025-08-04
- DOI
- https://doi.org/10.4204/eptcs.424.2
- Primary Topic
- Teaching and Learning Programming
- Type
- article
- Field-Weighted Citation Impact
- 0.00