Talk Description: Ever wondered how tools like Typescript or Eslint are able to understand the code you write? This talk is a high level walkthrough of how parsers transform raw source code into Abstract Syntax Trees that can be used for things like static typing and code formatting. We'll use Heket (a library I wrote for creating custom parser generators) to parse JavaScript source code... directly in JS! Finally, we'll transform the AST from the parser back into its raw source code form.
Thank you @joshmcclain! We'd love to accept your talk as the first speaker for July 9th. Can you please link/upload a pic here (or to ctjs@sanctuary.computer) for our promo materials?
Chinatown.js Talk Submission
Talk Title: Parsing and Unparsing JS
Talk Description: Ever wondered how tools like Typescript or Eslint are able to understand the code you write? This talk is a high level walkthrough of how parsers transform raw source code into Abstract Syntax Trees that can be used for things like static typing and code formatting. We'll use Heket (a library I wrote for creating custom parser generators) to parse JavaScript source code... directly in JS! Finally, we'll transform the AST from the parser back into its raw source code form.
Name: Josh McClain
Pronouns: he/him
Twitter Handle (optional): RIP
Website (optional): https://7db.org