[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Slow IO reading SPICE file ...
- Subject: Slow IO reading SPICE file ...
- From: Martin Mallinson <Martin@VEGA.cmt.dialnet.symbolics.com>
- Date: Sat, 10 Jul 1993 17:29-0400
Just a quick comment - reading a SPICE file or any other non-LISP file
can be helped by making your own readtable. Instead of:
(IF (is-comment-line? NL)
(SETQ NLdel (Delete-unwed-chars NL))
(SETQ NLdel NL))
used to remove comments or other special LISP characters -
bash the readtable first and just use read or read-from-string ..
(let ((readtable (copy-readtable))
...
(set-syntax-from-char #\: #\space)
(set-syntax-from-char #\| #\space)
...
(read-from-string ... )
etc etc
Martin M.