Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!decwrl!uunet!brunix!dkb From: dkb@cs.brown.edu (Dilip Barman) Newsgroups: comp.lang.lisp Subject: Building a string, character-by-character (HELP!) Message-ID: <51703@brunix.UUCP> Date: 1 Oct 90 05:36:16 GMT Sender: news@brunix.UUCP Reply-To: dkb@cs.brown.edu (Dilip Barman) Organization: Brown University Department of Computer Science Lines: 14 I'm writing a lexical analyzer in Common LISP and am having problems in dealing with characters. I am using the read-char built-in function to read from a file stream in a "standard" way to ignore white space and fold to upper case alphabetic characters. However, I find no way to deal with string concatenation - i.e., how do I keep tacking on filtered characters to a nascent output string? The cons primitive will build a list structure and seems to be irrelevant to what I'm trying to do. Any suggestions???? Dilip Barman dkb@cs.brown.edu U.S. mail: Brown University Home: 40 Everett Avenue Dept. of Computer Science, Box 1910 Providence, RI 02906 Providence, RI 02912 (401)863-7666 (401)521-9731