Click here to Skip to main content
15,897,273 members
Articles / General Programming / Regular Expressions

Compiling DFA Regular Expressions into .NET Assemblies

Rate me:
Please Sign up or sign in to vote.
4.78/5 (9 votes)
6 Jan 2024MIT9 min read 3.8K   41   6  
Adventures in Reflection.Emit! Here I present a regular expression engine with a Compile() feature.
Visual FA is my DFA regular expression engine with a Compile() feature which uses System.Reflection.Emit to generate assemblies on the fly that can match text. We're going to explore the process of compiling them in this article.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
United States United States
Just a shiny lil monster. Casts spells in C++. Mostly harmless.

Comments and Discussions