7 releases

0.19.1 Sep 12, 2024
0.19.0 Jul 11, 2024
0.18.0 Mar 7, 2024
0.17.3 Sep 26, 2023
0.17.0 Jul 8, 2023

#1126 in Programming languages

Download history 5599/week @ 2024-06-19 5846/week @ 2024-06-26 5863/week @ 2024-07-03 7775/week @ 2024-07-10 7395/week @ 2024-07-17 6105/week @ 2024-07-24 7008/week @ 2024-07-31 7112/week @ 2024-08-07 6987/week @ 2024-08-14 6222/week @ 2024-08-21 5286/week @ 2024-08-28 6415/week @ 2024-09-04 5678/week @ 2024-09-11 6040/week @ 2024-09-18 6317/week @ 2024-09-25 5272/week @ 2024-10-02

24,218 downloads per month
Used in 21 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

~4MB
~71K SLoC