Module pom::parser [] [src]

Constains predefined parsers and combinators.

Structs

Parser

Parser combinator.

Functions

call

Call a parser factory, can be used to create recursive parsers.

empty

Always success, consume no input.

end

Success when end of input is reached.

is_a

Sucess when predict return true on current input symbol.

list

Parse separated list.

none_of

Sucess when current input symbol is none of the set.

not_a

Sucess when predict return false on current input symbol.

one_of

Sucess when current input symbol is one of the set.

range

Sucess when the range contains current input symbol.

seq

Sucess when sequence of symbols match current input.

skip

Skip n symbols.

sym

Sucess when current input symbol equals t.

take

Read n symbols.