On this page:
1.1 Parsing Functions
parse-until
parse-cmp
parse-next
parse-all
1.2 Handling Scope
with-infix-binding
infix-lookup-syntax
infix-local-table

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

(parse-all [l] in)  syntax?

  l : (or/c syntax? #f) = #f
  in : (listof syntax?)

1.2 Handling Scope

syntax

(with-infix-binding [s v] body ...)

procedure

(infix-lookup-syntax s [tbl])  any/c

  s : syntax?
  tbl : dictionary? = (infix-local-table)

procedure

(infix-local-table)  dictionary?