#pest-parser #parser #wdl

pest-wdl-1

WDL 1.x grammar for the pest parsing library

6 releases

0.1.5 Feb 12, 2023
0.1.4 Feb 12, 2023

#2579 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–3MB
~59K SLoC