6 releases

0.1.5 Feb 12, 2023
0.1.4 Feb 12, 2023

#2543 in Parser implementations

27 downloads per month

MIT license

16KB
273 lines

pest-wdl-1

Pest parser grammar for Workflow Description Language (WDL).

Usage

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");
    ...
}

Dependencies

~2–2.8MB
~56K SLoC