/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

pbrisbin.com
| | deniskyashif.com

In this article we learn how to implement a simple and efficient regular expression engine following the Thompson's construction algorithm.
4.7 parsecs

Travel
| |
| | nitely.github.io

Finite Automata is commonly used to efficiently match a Regular Expression (RE) to a given textinput. There are RE engines for submatch extraction based on Non-deterministic Finite Automata (NFA). These algorithms usually return a single match for each submatch, instead of the history of submatches (full parse tree). An NFA can be converted to a Deterministic Finite Automata (DFA) to improve the runtime matching performance. This article describes an algorithm based on DFA that extracts full parse trees from text.
7.6 parsecs

Travel
| |
| | swtch.com


4.5 parsecs

Travel
| |
| | rust-lang.github.io


26.7 parsecs

Travel
|