sdpc v0.1.0 (2017-03-23T22:36:17Z)
Dub
Repo
word
sdpc
parsers
Parse a sequence of characters
@
safe
alias
word
(
alias
accept
=
alphabet
)
=
transform
!(
many
!(
ch
!
accept
),
(
x
)
=>
x.idup
)
Parameters
accept
an array of acceptable characters
Meta
Source
See Implementation
sdpc
parsers
aliases
digit
skip_whitespace
word
functions
identifier
nop
parse_escape1
parse_string
structs
ParseError
ch
not_ch
token
templates
number
variables
alphabet
digits
lower
upper
Parse a sequence of characters