计算机科学 > 形式语言与自动机理论
[提交于 2025年8月5日]
标题:A Design Recipe and Recipe-Based Errors for Regular Expressions
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:EPTCS[v1] 2025年8月5日 星期二 16:53:33 UTC