5 releases

0.18.0 Mar 7, 2024
0.17.3 Sep 26, 2023
0.17.2 Sep 26, 2023
0.17.1 Sep 26, 2023
0.17.0 Jul 8, 2023

#207 in Programming languages

Download history 4183/week @ 2024-01-25 3576/week @ 2024-02-01 2864/week @ 2024-02-08 4201/week @ 2024-02-15 4374/week @ 2024-02-22 4765/week @ 2024-02-29 4479/week @ 2024-03-07 5934/week @ 2024-03-14 5330/week @ 2024-03-21 4074/week @ 2024-03-28 4906/week @ 2024-04-04 5911/week @ 2024-04-11 6519/week @ 2024-04-18 5323/week @ 2024-04-25 5974/week @ 2024-05-02 5121/week @ 2024-05-09

24,036 downloads per month
Used in 17 crates (2 directly)

Unlicense OR MIT

610KB
12K SLoC

Boa's boa_ast crate implements an ECMAScript abstract syntax tree.

Crate Overview

boa_ast contains representations of Parse Nodes as defined by the ECMAScript spec. Some Parse Nodes are not represented by Boa's AST, because a lot of grammar productions are only used to throw Early Errors, and don't influence the evaluation of the AST itself.

Boa's AST is mainly split in three main components: Declarations, Expressions and Statements, with StatementList being the primordial Parse Node that combines all of them to create a proper AST.

Dependencies

~2.9–4MB
~70K SLoC