Why and how to write your own compiler?

42:40 · 14 Oct 2025 – 17 Oct 2025 · YouTube

About this talk

This talk presents the concept of writing a compiler using PHP, challenging the perception that compilers are only suited for lower-level languages. The speaker, Nikola Svitlica, illustrates the process through real-world applications, showing how a custom, fault-tolerant query language can be developed to generate storage-agnostic search queries. The session covers crucial topics such as lexing, parsing, and compiling user input into valid SQL, highlighting the limitations of conventional techniques like regular expressions. By sharing insights into the compiler's architecture and its practical benefits, the speaker aims to empower developers with knowledge that can enhance error tolerance in user queries.

From event

DrupalCon Vienna 2025

14 Oct 2025 – 17 Oct 2025

All event videos
Back to Watch