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

#71 in Programming languages

Download history 6037/week @ 2024-09-19 6544/week @ 2024-09-26 7086/week @ 2024-10-03 8953/week @ 2024-10-10 11689/week @ 2024-10-17 11138/week @ 2024-10-24 8001/week @ 2024-10-31 9601/week @ 2024-11-07 9547/week @ 2024-11-14 10838/week @ 2024-11-21 11185/week @ 2024-11-28 10632/week @ 2024-12-05 9178/week @ 2024-12-12 8822/week @ 2024-12-19 6728/week @ 2024-12-26 8411/week @ 2025-01-02

35,286 downloads per month
Used in 22 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