Pantagruel v0.0.7 Pantagruel.Parse.Util View Source
Combinator snippets required by the Pantagruel parser.
Link to this section Summary
Functions
Given a combinator C and a joiner J, match on CJCJ … C
Parse combinators nested inside of matched delimiters
Convert a list of strings to string combinators. Also accepts {string, value} pairs and will concatenate a replace combinator to the recognized string
Link to this section Functions
Given a combinator C and a joiner J, match on CJCJ … C
Parse combinators nested inside of matched delimiters.
Link to this function
strings(ss)
View Source
strings([String.t()] | [{String.t(), atom()}]) :: [NimbleParsec.t()]
Convert a list of strings to string combinators. Also accepts {string, value} pairs and will concatenate a replace combinator to the recognized string.