Any programmer with an interest in regular expression engines and their implementation has almost certainly come across the phenomenal series of articles written by Russ Cox on the subject. The first of what turned in to a multipart series
When it comes to implementing Finite State Automata picking a data structure with which to model the machine is an interesting problem. On the one hand the choice is obvious: Finite state machines be them deterministic or NFAs are generally viewed as d
Suffix Arrays are a neat data structure, to say the least. They allow us to perform efficient substring searchs, "keyword in context" searches, in addition to enabling us to compute the longest common prefix of a string in linear time. Suffix arrays ar
B+ trees are used heavily to implement index structures for many of the leading RDBMS vendors, traditionally for externally stored data. As computer architectures have evolved B+ trees are increasingly finding use as in-memory data structures
In my past projects when needed I have always implemented AST building parsers for regular expressions bottom-up by using the shunting yard algorithm. I've covered the process of doing so in my post on Thompsons Construction. While this approach certai
- 
                  
                    Compiling Regular Expressions for "The VM Approach"
- 
                  
                    Composable Linked Digraphs: An efficient NFA Data Structure for Thompsons Construction
- 
                  
                    Improving the Space Efficiency of Suffix Arrays
- 
                  
                    Augmenting B+ Trees For Order Statistics
- 
                  
                    Top-Down AST Construction of Regular Expressions with Recursive Descent
- 
                  
                    Balanced Deletion for in-memory B+ Trees
- 
                  
                    Building an AST from a Regular Expression Bottom-up
- 
                  
                    The Aho, Sethi, Ullman Direct DFA Construction Part 2: Building the DFA from the Followpos Table
- 
                  
                    The Aho, Sethi, Ullman Direct DFA Construction, Part 1: Constructing the Followpos Table
- 
                  
                    Procedural Map Generation with Binary Space Partitioning
 
  
  