Tagua VM is an experimental PHP virtual machine written in Rust and LLVM. It is composed as a set of libraries. One of them that keeps me busy these days is tagua-parser. It contains the lexical and syntactic analysers for the PHP language, in addition to the AST (Abstract Syntax Tree). If you would like … Continue reading Faster find algorithms in nom
Tag: string
Generate strings based on regular expressions
This article explains how to generate strings based on regular expressions. To make it possible, we will use the Hoa\Compiler and Hoa\Regex libraries. The goal is twofold: first it helps to analyze regular expressions, and second we see how to visit the produced AST in order to generate strings. A bonus waits the intrepids.