8 unstable releases (3 breaking)

new 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

#211 in Programming languages

Download history 6920/week @ 2024-08-16 5793/week @ 2024-08-23 5633/week @ 2024-08-30 6147/week @ 2024-09-06 5649/week @ 2024-09-13 6374/week @ 2024-09-20 6355/week @ 2024-09-27 7471/week @ 2024-10-04 9428/week @ 2024-10-11 11747/week @ 2024-10-18 10664/week @ 2024-10-25 8226/week @ 2024-11-01 9662/week @ 2024-11-08 9663/week @ 2024-11-15 10985/week @ 2024-11-22 10657/week @ 2024-11-29

42,670 downloads per month
Used in 21 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