Name Description Size
parser.rs This is a simple CLI utility to take in an FTL file and output the AST. ## View the `Debug` representation: From the root directory of the `fluent-rs` repo: ```sh cargo run --bin parser -- ./fluent-syntax/tests/fixtures/literal_expressions.ftl ``` ## View the `json` representation: ```sh cargo run --bin parser --features json -- ./fluent-syntax/tests/fixtures/literal_expressions.ftl ``` 1570
update_fixtures.rs Run the `update_fixtures` binary after updating any of the `benches` `.ftl` fixtures. This will update the `.json` files used in reference tests. This file must be run from `{PROJECT_ROOT}/fluent-syntax` ```sh cargo run --bin update_fixtures --features="json" ``` 1938