Parsing Text with a Virtual Machine - Ghadi Shayban

4,040 views · Published 17 April 2016 · 43:54 · Indexed 27 October 2026

Channel: ClojureTV · 2016 · Science & Technology

Watch on YouTube

As the saying goes, all the good ideas in computer science came from the 1970s. We'll explore a new library for parsing text that calls upon an old, unconventional approach: compiling parsers to custom bytecode and then running it through an interpreter.  Along the way, we'll learn about how PEGs fit a sweet spot between regular expressions and heavier parsers, and how Clojure is an ideal language for writing simple compilers.

More from this channel