Skip to content

Parses hostlist expressions into a Vec of Strings

License

Notifications You must be signed in to change notification settings

whamcloud/hostlist-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hostlist-parser

Crates.io docs.rs

Parses hostlist expressions into a deduped Vec of Strings

This library implements hostlist parsing. It takes a hostlist expression and produces a Result of unique hostnames, or a parse error that can be introspected to see issues.

The fn to parse a hostlist is:

parse(input: &str,) -> Result<Vec<String>, combine::stream::easy::Errors<char, &str, usize>>

This parser can compile to native code and also with the wasm32-unknown-unknown target.

About

Parses hostlist expressions into a Vec of Strings

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages