Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OpenJS World - What the AST?

OpenJS World - What the AST?

Two fundamental things that make the life of every developer easier are tokenizers and Abstract Syntax Trees. Whether it's your favorite syntax highlighting, linter, code formatting tool, or tools like the TypeScript compiler or Babel. All rely on these fundamental concepts. But how do they work?

In this session we'll look at what Tokenizer and Syntax parsers do, how an Abstract Syntax Tree looks like, why they are useful and other ways developers can benefit from them.

Dominik Kundel

June 23, 2020

More Decks by Dominik Kundel

Other Decks in Programming