Parser Generator DSLs: Building Parsers with Babel and JavaScript Templates

Parsers are fascinating and in the JavaScript ecosystem they’re all around us. With Babel Macros tagged template literals can do more than just embed DSLs, they can be precompiled to become generated code. Let’s look at how I built RegHex which let’s you … Read more