Published onNovember 8, 2026Building a Lexer Framework Part 4.1 - Cleaning the NFA to speed it uplexerparsersformal-languagesperformanceThe lexer works, but it's also 1668x slower than ANTLR4. Here is my first attempt to improve thatRead more →
Published onAugust 9, 2026Building a Lexer Framework Part 3 - Executing the state machinelexerparsersformal-languagesI keep pressing keys until I have a fully functional lexer. I wonder, how will it perform against a professional one like ANTLR4? 🤔Read more →
Published onAugust 2, 2026Building a Lexer Framework Part 2 - The state machinelexerparsersformal-languagesUsing the black magic we developed for the regex engine we can easily create a state machine for any set of lexer rules.Read more →
Published onJuly 24, 2026Building a Lexer Framework Part 1 - Introductionlexerparsersformal-languagesOn the journey to reinvent the wheel yet again while learning formal languages, it is time to build a lexer to generate old-school non-AI tokensRead more →
Published on The complex art of writing simple code for a businessOctober 7, 2025standaloneessayWorking as a software engineer is much more than writing code. There is complexity every area of the job, and that is why we need to keep the code as simple as possible. But that is not an easy job.Read more →