<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>comp.lang.lisp Google Group</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp</link>
  <description>Discussion about LISP.</description>
  <language>en</language>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/20266b4adeeb400c?show_docid=20266b4adeeb400c</link>
  <description>
  Ah well, you&#39;re right, CLHS set-syntax-from-char says: &lt;br&gt; A macro definition from a character such as &amp;quot; can be copied to &lt;br&gt; another character; the standard definition for &amp;quot; looks for another &lt;br&gt; character that is the same as the character that invoked it. The &lt;br&gt; definition of ( can not be meaningfully copied to {, on the other
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/20266b4adeeb400c?show_docid=20266b4adeeb400c</guid>
  <author>
  p...@informatimago.com
  (Pascal J. Bourguignon)
  </author>
  <pubDate>Sun, 11 Nov 2009 22:15:54 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/258e7ea60b156e2d?show_docid=258e7ea60b156e2d</link>
  <description>
  ^^^^ &lt;br&gt; I made no claims about CLHS; but even ignoring that, CLHS still does &lt;br&gt; not say that #\&amp;quot;&#39;s macro character function expects _only_ a #\&amp;quot; as &lt;br&gt; the string terminator. &lt;br&gt; In other words, after (SET-SYNTAX-FROM-CHAR #\&amp;lt; #\&amp;quot;), the theory &lt;br&gt; that explains (READ-FROM-STRING &amp;quot;&amp;lt;foo&amp;gt;&amp;quot;)&#39;s error with the absence of
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/258e7ea60b156e2d?show_docid=258e7ea60b156e2d</guid>
  <author>
  vniko...@pobox.com
  (Vassil Nikolov)
  </author>
  <pubDate>Sun, 11 Nov 2009 22:09:32 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/8f79c421e7165d97?show_docid=8f79c421e7165d97</link>
  <description>
  Why not read &amp;lt;label name&amp;gt; as LABEL-NAME then?
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/8f79c421e7165d97?show_docid=8f79c421e7165d97</guid>
  <author>
  p...@informatimago.com
  (Pascal J. Bourguignon)
  </author>
  <pubDate>Sun, 11 Nov 2009 22:03:10 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/7f24fdfd07d76c81?show_docid=7f24fdfd07d76c81</link>
  <description>
  (defun set-bar (label-name) &lt;br&gt; (gnuplot-set-command &amp;quot;bar&amp;quot; label-name)) ;;pseudocode &lt;br&gt; Previous post was sent before being finished. Fixed above.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/7f24fdfd07d76c81?show_docid=7f24fdfd07d76c81</guid>
  <author>
  mirko.vuko...@gmail.com
  (Mirko)
  </author>
  <pubDate>Sun, 11 Nov 2009 21:53:14 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/1024d3ace02ca090?show_docid=1024d3ace02ca090</link>
  <description>
  The reason I have to read as string is as follows: &lt;br&gt; &amp;lt;foo&amp;gt; denotes entry of an explicit value. In my interface, I would &lt;br&gt; have &lt;br&gt; (defun set-bar (foo) &lt;br&gt; (gnuplot-set-command &amp;quot;bar&amp;quot; foo) ;; pseudocode &lt;br&gt; However, in some cases, GNUPLOT has a compound name: &amp;lt;label name&amp;gt;, &lt;br&gt; which I will have to translate into &lt;br&gt; (defun set-bar (label-name)
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/1024d3ace02ca090?show_docid=1024d3ace02ca090</guid>
  <author>
  mirko.vuko...@gmail.com
  (Mirko)
  </author>
  <pubDate>Sun, 11 Nov 2009 21:51:32 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/d37eca661c7d5a81?show_docid=d37eca661c7d5a81</link>
  <description>
  CLHS 2.4.5 says: &lt;br&gt; The double-quote is used to begin and end a string. When a &lt;br&gt; double-quote is encountered, characters are read from the input &lt;br&gt; stream and accumulated until another double-quote is &lt;br&gt; encountered. If a single escape character is seen, the single &lt;br&gt; escape character is discarded, the next character is accumulated,
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/d37eca661c7d5a81?show_docid=d37eca661c7d5a81</guid>
  <author>
  p...@informatimago.com
  (Pascal J. Bourguignon)
  </author>
  <pubDate>Sun, 11 Nov 2009 21:36:05 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/4d2fa39ec49b12d2?show_docid=4d2fa39ec49b12d2</link>
  <description>
  P.S. Depending on what _exactly_ you are processing [*], you might &lt;br&gt; get away with the kludge of &lt;br&gt; (set-syntax-from-char #\&amp;lt; #\Space) &lt;br&gt; (set-syntax-from-char #\&amp;gt; #\Space) &lt;br&gt; to read the above as the symbol LABEL (I see no reason why one would &lt;br&gt; insist on reading strings here). &lt;br&gt; _________ &lt;br&gt; [*] e.g. whether such tags may contain non-constituent characters
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/4d2fa39ec49b12d2?show_docid=4d2fa39ec49b12d2</guid>
  <author>
  vniko...@pobox.com
  (Vassil Nikolov)
  </author>
  <pubDate>Sun, 11 Nov 2009 21:34:18 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/1250f9ea0cdcead1?show_docid=1250f9ea0cdcead1</link>
  <description>
  CL-USER&amp;gt; (set-syntax-from-char #\&amp;lt; #\&amp;quot;) &lt;br&gt; CL-USER&amp;gt; (set-syntax-from-char #\&amp;gt; #\&amp;quot;) &lt;br&gt; It actually expects the same delimiter at the end as in the &lt;br&gt; beginning (maybe not according to CLHS, but to CLtL), so after the &lt;br&gt; above, &amp;lt;foo&amp;lt; would be read as &amp;quot;foo&amp;quot; and so would &amp;gt;foo&amp;gt; (which is &lt;br&gt; still not what is desired, of course).
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/1250f9ea0cdcead1?show_docid=1250f9ea0cdcead1</guid>
  <author>
  vniko...@pobox.com
  (Vassil Nikolov)
  </author>
  <pubDate>Sun, 11 Nov 2009 21:24:08 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/93df50ed2d573db8?show_docid=93df50ed2d573db8</link>
  <description>
  To be able to use &amp;lt;abc&amp;gt; in lisp sources, just run: &lt;br&gt; (set-macro-character #\&amp;lt; (function bracket-string-reader) *readtable*) &lt;br&gt; on the REPL readtable. Above I showed a benign example installing the &lt;br&gt; reader macro on a temporary local readtable, but of course you can &lt;br&gt; modify directly *readtable*. &lt;br&gt; This errors comes from the fact that the predefined reader macro for
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/93df50ed2d573db8?show_docid=93df50ed2d573db8</guid>
  <author>
  p...@informatimago.com
  (Pascal J. Bourguignon)
  </author>
  <pubDate>Sun, 11 Nov 2009 21:07:49 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/ae529c46ba0ef565?show_docid=ae529c46ba0ef565</link>
  <description>
  The latter is exactly achieved by doing the former (i.e. by suitably &lt;br&gt; defining #\&amp;lt; as a macro character), so in what way would you like to &lt;br&gt; do better? &lt;br&gt; Note that the only way the (standard Common Lisp) reader algorithm &lt;br&gt; can return a string is through the use of macro characters (only &lt;br&gt; numbers and symbols are produced from extended tokens).
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/ae529c46ba0ef565?show_docid=ae529c46ba0ef565</guid>
  <author>
  vniko...@pobox.com
  (Vassil Nikolov)
  </author>
  <pubDate>Sun, 11 Nov 2009 20:43:57 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/6760fe1179bafc8f?show_docid=6760fe1179bafc8f</link>
  <description>
  On Nov 8, 3:01 pm, p...@informatimago.com (Pascal J. Bourguignon) &lt;br&gt; wrote: &lt;br&gt; Thanks Pascal, that is what I had so far. &lt;br&gt; I was looking for something like this (and which does not work): &lt;br&gt; CL-USER&amp;gt; (set-syntax-from-char #\&amp;lt; #\&amp;quot;) &lt;br&gt; T &lt;br&gt; CL-USER&amp;gt; (set-syntax-from-char #\&amp;gt; #\&amp;quot;) &lt;br&gt; T &lt;br&gt; CL-USER&amp;gt; (read-from-string &amp;quot;&amp;lt;abc&amp;gt;&amp;quot;)
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/6760fe1179bafc8f?show_docid=6760fe1179bafc8f</guid>
  <author>
  mirko.vuko...@gmail.com
  (Mirko)
  </author>
  <pubDate>Sun, 11 Nov 2009 20:43:17 UT
</pubDate>
  </item>
  <item>
  <title>Re: Is there a better way to store this?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/ed5b754218baaeed/4dec46eef02b8837?show_docid=4dec46eef02b8837</link>
  <description>
  Are you aware of the following link? &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://web.archive.org/web/20040815123650/http://lecture.pentaside.org/paper/persistence-lemmens.txt&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Pascal
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/ed5b754218baaeed/4dec46eef02b8837?show_docid=4dec46eef02b8837</guid>
  <author>
  p...@p-cos.net
  (Pascal Costanza)
  </author>
  <pubDate>Sun, 11 Nov 2009 20:37:17 UT
</pubDate>
  </item>
  <item>
  <title>Re: Ron Garret considered harmful</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/0460484cf7acb349/c5cee32944e7ede5?show_docid=c5cee32944e7ede5</link>
  <description>
  Thank you so much for your guidance, even though I was actually &lt;br&gt; objecting to the statement that &amp;quot;only a monkey&amp;quot; would have used &lt;br&gt; &amp;quot;shrunk&amp;quot; as the past tense form (instead of &amp;quot;shrank&amp;quot;), which is &lt;br&gt; somewhat different. &lt;br&gt; Which is the body that issues pronouncements when a hitherto &lt;br&gt; incorrect form becomes correct in the English language, or a
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/0460484cf7acb349/c5cee32944e7ede5?show_docid=c5cee32944e7ede5</guid>
  <author>
  vniko...@pobox.com
  (Vassil Nikolov)
  </author>
  <pubDate>Sun, 11 Nov 2009 20:23:50 UT
</pubDate>
  </item>
  <item>
  <title>Re: How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/223b745d276d1251?show_docid=223b745d276d1251</link>
  <description>
  (defun bracket-string-reader (stream ch) &lt;br&gt; (declare (ignore ch)) &lt;br&gt; (coerce (loop for ch = (read-char stream) &lt;br&gt; until (char= #\&amp;gt; ch) &lt;br&gt; collect ch) &#39;string)) &lt;br&gt; (let ((*readtable* (copy-readtable nil))) &lt;br&gt; (set-macro-character #\&amp;lt; (function bracket-string-reader) *readtable*)
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/223b745d276d1251?show_docid=223b745d276d1251</guid>
  <author>
  p...@informatimago.com
  (Pascal J. Bourguignon)
  </author>
  <pubDate>Sun, 11 Nov 2009 20:01:52 UT
</pubDate>
  </item>
  <item>
  <title>How to tell reader that strings are delimited with `&lt;&#39; and `&gt;&#39; ?</title>
  <link>http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/4df8a07e9cdf2854?show_docid=4df8a07e9cdf2854</link>
  <description>
  Hello, &lt;br&gt; I am parsing a file that has snippets such as &lt;br&gt; &amp;lt;label&amp;gt; &lt;br&gt; I would like to coax the reader to return a string &amp;quot;label&amp;quot;. Right &lt;br&gt; now, I have defined a macro character #\&amp;lt; to collect characters from &lt;br&gt; the input stream until the matching &amp;gt; is found. But I wonder if I can &lt;br&gt; coax the reader to interpret &amp;lt;label&amp;gt; as a &amp;quot;label&amp;quot; string.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.lang.lisp/browse_thread/thread/8efd08cdc19d0b6f/4df8a07e9cdf2854?show_docid=4df8a07e9cdf2854</guid>
  <author>
  mirko.vuko...@gmail.com
  (Mirko)
  </author>
  <pubDate>Sun, 11 Nov 2009 19:55:31 UT
</pubDate>
  </item>
  </channel>
</rss>
