8 unstable releases (3 breaking)

0.20.0 Dec 5, 2024
0.19.1 Sep 12, 2024
0.19.0 Jul 11, 2024
0.18.0 Mar 7, 2024
0.17.0 Jul 8, 2023

#75 in Programming languages

Download history 12241/week @ 2024-10-20 9681/week @ 2024-10-27 8605/week @ 2024-11-03 9495/week @ 2024-11-10 10082/week @ 2024-11-17 10935/week @ 2024-11-24 10628/week @ 2024-12-01 11434/week @ 2024-12-08 8481/week @ 2024-12-15 7613/week @ 2024-12-22 6926/week @ 2024-12-29 10592/week @ 2025-01-05 9553/week @ 2025-01-12 10768/week @ 2025-01-19 11074/week @ 2025-01-26 10212/week @ 2025-02-02

42,351 downloads per month
Used in 25 crates (2 directly)

Unlicense OR MIT

1MB
20K 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.4–3.5MB
~63K SLoC