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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Design Recipe and Recipe-Based Errors for Regular Expressions

Marco T. Morazán, Shamil Dzhatdoyev, Tijana Minić, Andrés M. Garced et al.
Electronic Proceedings in Theoretical Computer Science
Teaching and Learning Programming
article

A Design Recipe and Recipe-Based Errors for Regular Expressions

Marco T. Morazán, Shamil Dzhatdoyev, Tijana Minić, Andrés M. Garced, David Anthony K. Fields, Josephine Des Rosiers
article en

Abstract

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.

Electronic Proceedings in Theoretical Computer ScienceVol. 424
Seton Hall University (US), University of Washington (US), Penguin Random House (United States) (US), AXON Neuroscience (Slovakia) (SK)
Zero hunger
Openalex Percentile: Top 80%
Teaching and Learning Programming
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

A Design Recipe and Recipe-Based Errors for Regular Expressions — Marco T. Morazán, Shamil Dzhatdoyev, et al. · Electronic Proceedings in Theoretical Computer Science (2025) | TGRS Research Map | TGRS