mw-parser.bulk

parse multiple rules from a stream, possibly a file.

comment?

(comment? line)

Is this line a comment?

compile-file

(compile-file filename)

Compile each non-comment line of the file indicated by this filename into an executable anonymous function, and return the sequence of such functions.

compile-string

(compile-string string)

Compile each non-comment line of this string into an executable anonymous function, and return the sequence of such functions.

parse-file

(parse-file filename)

Parse rules from successive lines in the file loaded from this filename. Return a list of S-expressions.

parse-string

(parse-string string)

Parse rules from successive lines in this string, assumed to have multiple lines delimited by the new-line character. Return a list of S-expressions.