Content-Length: 389271 | pFad | http://github.com/microsoft/TypeScript/wiki/Codebase-Compiler-Parser

D6 Codebase Compiler Parser · microsoft/TypeScript Wiki · GitHub
Skip to content

Codebase Compiler Parser

Nathan Shively-Sanders edited this page Sep 2, 2022 · 1 revision

0: https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/program.ts#L1926# Parser

At a measly 8k lines long, the Parser is responsible for controlling a scanner (or two) and turning the output tokens from the scanner into an AST as the canonical representation of the source file.

JSDoc

Context

Because the parser itself is effectively a state machine which creates nodes from scanning text there is some reasonable dancing

`

Clone this wiki locally








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/microsoft/TypeScript/wiki/Codebase-Compiler-Parser

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy