Crates.io | pest-wdl-1 |
lib.rs | pest-wdl-1 |
version | 0.1.5 |
source | src |
created_at | 2023-02-01 18:58:37.595148 |
updated_at | 2023-02-12 14:26:41.224444 |
description | WDL 1.x grammar for the pest parsing library |
homepage | |
repository | https://github.com/jdidion/pest-wdl |
max_upload_size | |
id | 774073 |
size | 47,235 |
Pest parser grammar for Workflow Description Language (WDL).
use pest::iterators::Pair;
use pest_wdl_1 as wdl;
fn main() {
let text = r#"
version 1.0
workflow foo {
}
"#;
let root: Pair<'_, wdl::Rule> =
wdl::parse_document(text).expect("Error parsing WDL document");
...
}