Re: ifile lexing question
Jason Rennie <[email protected]> Fri, 27 Sep 2002 08:41:08 -0400
| Newsgroups | gmane.mail.ifile.general |
|---|---|
| Message-ID | <[email protected]> |
[email protected] said: > I'm working on daemonizing ifile, and I have a question for Jason (or > anyone else deeply familiar with the internals). The problem is, I > want to schlep a message over a pipe from client to server without > necessarily closing the pipe afterward to send an EOF. The lexing > code seems to run 'til EOF at the moment, but it looks like I could > maybe set an "end of document" pattern somewhere, and then just > terminate a message-send with something like "\n------IFILE_END_OF_MESS > AGE-----\n" or somesuch. If you also want to move parsing/lexing to the client end, I'd recommend not using the current lexing code for the server. Probably easier to write new code. Jason D. M. Rennie MIT AI Lab [email protected] (617) 253-5339 http://www.ai.mit.edu/~jrennie/