Handbook
Glossary
from-m-to-n ( parser m n -- parser' )
Vocabulary
parser-combinators
Inputs
parser
an
object
m
an
object
n
an
object
Outputs
parser'
an
object
Definition
USING:
kernel
math
;
IN:
parser-combinators
:
from-m-to-n
( parser m n -- parser' )
[
[
exactly-n
]
2keep
]
dip
swap
-
at-most-n
<:&:>
;