(index ("read-honu" 0) ("read-honu" 1160))
(def (sig (procedure "(read-honu #!key port line-numbers lnwrap flavor)" (id read-honu))) (p "Reads a single honu expression from " (tt "PORT") ", which defaults to the value of " (tt "(current-input-port)") " . If " (tt "SHOW-LINE-NUMBERS") " is given and true, then parsing errors will report the offending line-number (as obtained by " (tt "port-position") ".  The optional argument " (tt "WRAP") " may be given to wrap each read item into a user-definable structure, or to perform user-specific conversion. " (tt "WRAP") " is called for each H-expression with the expression and the current line number as arguments replacing the H-expression with the result.") (p (tt "FLAVOR") " should be a symbol and adds additional special handling:") (dl (dt "vanilla") (dd "default behaviour.") (dt "prolog") (dd "allows the characters " (tt "#\\\\") " and " (tt "#\\@") " as operator characters, allows " (tt "% ...") " as single-line comments (but not " (tt "// ...") "), reads " (tt "'...'") " as symbol.") (dt "javascript") (dd "reads " (tt "'...'") " as string.")) (p "Previously to version 2.1 of this egg, " (tt "read-honu") " had the following signature:"))
(def (sig (procedure "(read-honu [PORT [LINE-NUMBERS [WRAP]]])" (id read-honu))) (p "This argument-list syntax is still supported but deprecated."))
