[comp.lang.lisp] franz and ingres

garyb@ogcvax.UUCP (04/05/87)

I'm building a system that allows the specification, storage, and accessing
of neural network models. I intend to use BSD 4.3 franz lisp and Ingres.

In order to facilitate the bulk insertion and retrieval of relations, data
will travel between franz and Ingres by means of the Unix file system.
The Ingres command, copy, will do the honors on the database side of the
fence. My question concerns what to do with franz lisp.

Because Ingres reads from and writes to files effectively in terms of byte
representations, I would like to put lisp strings and numbers into immediate
byte vectors and use a Unix system call to read and write these objects to and
from an appropriate file descriptor. I attempted to use the function, syscall,
in order to access the Unix "write" system call, but found that it would not
accept an immediate vector argument.

I also tried a more canned approach which amounted to adding some formatting
on the Ingres side. Franz couldn't successfully "read" the file.

I suppose I could resort to using "tyi/tyo", but I'd rather read and write
whole blocks of data if possible.

Has anyone tried to read and write data between franz and Unix files using
immediate vectors? Any success?

Must I bite the tyi/tyo bullet? Any other suggestions?

Thanks in advance.

Gary Beaver			UUCP:  ...!tektronix!ogcvax!garyb
Oregon Graduate Center		CSNet: garyb@oregon-grad
19600 N.W. von Neumann Drive
Beaverton, OR 97006
-- 
Gary Beaver			UUCP:  ...!tektronix!ogcvax!garyb
Oregon Graduate Center		CSNet: garyb@oregon-grad
19600 N.W. von Neumann Drive
Beaverton, OR 97006