readBNF {xegaBNF}R Documentation

Read text file.

Description

readBNF() reads a text file and returns a character string.

Usage

readBNF(filename, eol = "")

Arguments

filename

A file name.

eol

End-of-line symbol(s). Default: ""

Value

A named list with

See Also

Other File I/O: newBNF(), writeBNF()

Examples

g<-booleanGrammar()
fn<-tempfile()
writeBNF(g, fn)
g1<-readBNF(fn)
unlink(fn)

[Package xegaBNF version 1.0.0.0 Index]