abstract syntax tree's are gonna be IMPORTANT in 2024

Поділитися
Вставка
  • Опубліковано 29 вер 2024
  • in this tutorial chris breaks down how parsing, tokenizing and abstract syntax trees (AST's) work in JavaScript and TypeScript. Chris breaks down how tokenenization works using tools such as espree, acorn and typescript. We also look at what an abstract syntax tree works and how it's used in code formatting tools such as prettier or linting tools such as eslint. Chris shows how you code gen with ast's using escodegen or recast and talks about how code is generated using babel or the typescript compiler. chris also takes a look ahead on why AST's will be important in the future of AI and LLM's. you never know, might even learn some computer science.
    github repo
    ------
    github.com/chr...

КОМЕНТАРІ • 8

  • @parthbhuva97
    @parthbhuva97 9 місяців тому +2

    I have studied this last semester in Compiler Design. Never understood SDT or ADT but now it makes sense. Great Explanation btw.

  • @fablesofzorba1884
    @fablesofzorba1884 9 днів тому

    Stupid question - is it possible to build a JavaScript to wasm transpiler if we follow this path i.e combining LLMs and ASTs ? How easy could that be ?
    Is it worth trying ?
    Would be grateful if you could answer.

  • @DuskyDaily
    @DuskyDaily 9 місяців тому +2

    hello there, Chris!

  • @geoffreygordonashbrook1683
    @geoffreygordonashbrook1683 9 місяців тому

    Does this apply to integrating WebAssembly into processes? (Many thanks for the great video!)

  • @hama502
    @hama502 9 місяців тому +1

    reinvent xml

    • @chrishayuk
      @chrishayuk  9 місяців тому

      The answer isn’t what you think