Regular Expressions in a CS Formal Languages Course

08/14/2023
by   Marco T. Morazán, et al.
0

Regular expressions in an Automata Theory and Formal Languages course are mostly treated as a theoretical topic. That is, to some degree their mathematical properties and their role to describe languages is discussed. This approach fails to capture the interest of most Computer Science students. It is a missed opportunity to engage Computer Science students that are far more motivated by practical applications of theory. To this end, regular expressions may be discussed as the description of an algorithm to generate words in a language that is easily programmed. This article describes a programming-based methodology to introduce students to regular expressions in an Automata Theory and Formal Languages course. The language of instruction is FSM in which there is a regular expression type. Thus, facilitating the study of regular expressions and of algorithms based on regular expressions.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/12/2019

On Learning Nominal Automata with Binders

We investigate a learning algorithm in the context of nominal automata, ...
research
12/02/2020

Effective Feedback for Introductory CS Theory: A JFLAP Extension and Student Persistence

Computing theory analyzes abstract computational models to rigorously st...
research
02/25/2023

An Educational Tool for Exploring the Pumping Lemma Property for Regular Languages

Pumping lemma has been a very difficult topic for students to understand...
research
09/15/2015

Regular expressions for decoding of neural network outputs

This article proposes a convenient tool for decoding the output of neura...
research
06/27/2019

FSM Error Messages

Computer Science students, in general, find Automata Theory difficult an...
research
02/18/2021

Regular Expressions for Fast-response COVID-19 Text Classification

Text classifiers are at the core of many NLP applications and use a vari...
research
03/07/2022

Topological duality for distributive lattices, and applications

This book is a course in Stone-Priestley duality theory, with applicatio...

Please sign up or login with your details

Forgot password? Click here to reset