#ast #swf #avm1

bin+lib avm1-tree

Abstract Syntax Tree (AST) for AVM1

10 releases (breaking)

✓ Uses Rust 2018 edition

0.8.0 Sep 24, 2019
0.7.0 Jul 16, 2019
0.6.0 Jul 11, 2019
0.5.0 Jul 8, 2019
0.0.15 Oct 24, 2018

#209 in Data structures

Download history 64/week @ 2019-07-10 29/week @ 2019-07-17 14/week @ 2019-07-24 16/week @ 2019-07-31 33/week @ 2019-08-07 2/week @ 2019-08-14 63/week @ 2019-08-21 33/week @ 2019-08-28 35/week @ 2019-09-04 12/week @ 2019-09-11 89/week @ 2019-09-18 34/week @ 2019-09-25 21/week @ 2019-10-02 9/week @ 2019-10-09 45/week @ 2019-10-16

178 downloads per month

MIT/Apache

21KB
640 lines

AVM1 Tree (Rust)

crates.io GitHub repository Build status

Rust implementation of the AVM1 Abstract Syntax Tree (AST).

Contributing

This repo uses Git submodules for its test samples:

# Clone with submodules
git clone --recurse-submodules git://github.com/open-flash/swf-parser.git
# Update submodules for an already-cloned repo
git submodule update --init --recursive --remote

This library is a standard Cargo project. You can test your changes with cargo test. The commands must be run from the rs directory.

Code formatting is checked using rustfmt:

# Make sure that you have `rustfmt`
rustup component add rustfmt
# Check formatting
cargo fmt --all -- --check
# Format automatically
cargo fmt --all

Prefer non-master branches when sending a PR so your changes can be rebased if needed. All the commits must be made on top of master (fast-forward merge). CI must pass for changes to be accepted.

Dependencies

~1–1.6MB
~35K SLoC