paint-brush
Understaning Chrome V8 - Chapter 23: Compiler Workflow Parse, AST, and Token by@huidou
463 reads
463 reads

Understaning Chrome V8 - Chapter 23: Compiler Workflow Parse, AST, and Token

by 灰豆14mOctober 21st, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this article, I will talk about how the Parse, AST, and Token work together, and walk you through the compilation as well as watch and see the detail. In the above code, line 5 is the factory method which returns the AST tree; Line 17 shows the flags why the AST is being optimized; Line 13 is responsible for holding the completed AST tree. As I want to see the AST, watch the way you are going to the generation and how the factory is called called. The code has been encoded as UTF-16 already.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Understaning Chrome V8 - Chapter 23:  Compiler Workflow Parse, AST, and Token
灰豆 HackerNoon profile picture
灰豆

灰豆

@huidou

a big fan of chrome V8

About @huidou
LEARN MORE ABOUT @HUIDOU'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

灰豆 HackerNoon profile picture
灰豆@huidou
a big fan of chrome V8

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite