Let’s Understand Chrome V8 — Chapter 5: Compilation Parserby@huidou
359 reads

Let’s Understand Chrome V8 — Chapter 5: Compilation Parser

August 16th 2022
3 min
by @huidou 359 reads
tldt arrow
Read on Terminal Reader

Too Long; Didn't Read

In this article, we’ll talk about the source code and important data structures of V8’s JS parser. In V8, the parser is the next stage of the scanner, and the token output by the scanner is the input of the parser. During compiling JS, the scanner will frequently call the scanner to generate the token word. In the third line of code, peek() takes out the type of the Token::FUNCTION, so the type obtained by the peek is Token::FCTION. In our case, we need to determine which FunctionKind the function is.
featured image - Let’s Understand Chrome V8 — Chapter 5: Compilation Parser
灰豆 HackerNoon profile picture

@huidou

灰豆

About @huidou
LEARN MORE ABOUT @HUIDOU'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa