1 Parsing
1.1 Parsing Functions
procedure
(parse-until [l] in stop?) →
syntax? (listof syntax?) l : (or/c syntax? #f) = #f in : (listof syntax?) stop? : (any/c -> boolean?)
Repeatedly applies the infix procedure associated with
the value v of the first element of in
until (stop? v) is true and l is not
#f, or in is '().
procedure
(parse-cmp [l] in R m) →
syntax? (listof syntax?) l : (or/c syntax? #f) = #f in : (listof syntax?) R : (any/c any/c -> boolean?) m : any/c
Repeatedly applies the infix procedure associated with value v
of the first element of in until the precedence of v is
less than m and l is not #f, or in
is '().
procedure
(parse-next [l] in) →
syntax? (listof syntax?) l : (or/c syntax? #f) = #f in : (listof syntax?)
procedure
l : (or/c syntax? #f) = #f in : (listof syntax?)
1.2 Handling Scope
syntax
(with-infix-binding [s v] body ...)
procedure
s : syntax? tbl : dictionary? = (infix-local-table)
procedure