Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!aplcen!uunet!munnari.oz.au!uniwa!pyrmania!major From: major@pta.oz.au (Major) Newsgroups: comp.lang.scheme Subject: Re^2: Scheme as the only extension language Message-ID: <502@pyrmania.oz> Date: 7 Sep 90 19:38:43 GMT References: Sender: major@pyrmania.oz Distribution: comp.lang.scheme Organization: Pyramid Technology Corporation Pty Ltd Lines: 22 X-bang-address: {uunet,hplabs,ukc}!munnari!pta.oz.au!major X-Street-Address: 4th Floor, South Shore Center, 83-87 The Esplanade, South Perth WA 6151, Australia X-Phone: + 61 9 474-2600 X-Fax: + 61 9 474-1221 peter@ficc.ferranti.com (Peter da Silva) writes: | ramsdell@mitre.org writes: | > Taking this even further, is there anyone who asserts that | > Scheme could be the right extension language for a TeX-like or a | > PostScript-like system? How would you integrate the text with Scheme | > code? | | Use some escape character to indicate the beginning of scheme code. Read | one symbol or list at that point and evaluate it. Discard the result if it's | nil, otherwise treat it as replacement text. You would have stuff inserted | in your text like @(date) or @(set! ux '"UNIX(TM)") or @ux. Yes, the documentation of Kyoto Common LISP is written in a language exactly like this. From memory, their escape character was \. ---- Happy hacking! Major major@pta.oz.au