The SExpParser structure implements a parser for S-Expressions.
Synopsis
structure SExpParser
Interface
val parse : TextIO.instream -> SExp.value list
val parseFile : string -> SExp.value list
Description
val parse : TextIO.instream -> SExp.value list-
parse inSparses a sequence of S-Expressions from the input streaminS. TheFailexception is raised if a syntax error is encountered. val parseFile : string -> SExp.value list-
parse fparses a sequence of S-Expressions from the filef. TheFailexception is raised if a syntax error is encountered.