<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>David Vázquez</title>
  <link href="http://davazp.net"/>
  <link type="application/atom+xml" rel="self" href="http://davazp.net/feeds/lisp.xml"/>
  <updated>2013-05-01T06:55:13-07:00</updated>
  <id>http://davazp.net/</id>
  <author>
    <name>David Vázquez</name>
    <email>davazp@gmail.com</email>
  </author>
  
  <entry>
    <id>http://davazp.net/2013/05/01/the-surprising-jscl-rising</id>
    <link type="text/html" rel="alternate" href="http://davazp.net/2013/05/01/the-surprising-jscl-rising.html"/>
    <title>The surprising JSCL rising</title>
    <published>2013-05-01T00:00:00-07:00</published>
    <updated>2013-05-01T00:00:00-07:00</updated>
    <author>
      <name>David Vázquez</name>
      <uri>http://davazp.net/2013/05/01/the-surprising-jscl-rising</uri>
    </author>
    <content type="html">&lt;p&gt;I am just back from a few days of holidays and have seen how active
JSCL is!  It is really exciting.
&lt;/p&gt;
&lt;p&gt;
This rising is due to &lt;a href=&quot;https://github.com/abeaumont&quot;&gt;abeaumont&lt;/a&gt; probably. I stopped working, but he
came up with an idea I liked. It is, why don't integrate JSCL into
&lt;a href=&quot;http://conkeror.org/&quot;&gt;Conkeror&lt;/a&gt;? We would end up with a Lisp programmable browser&amp;hellip; that's a
practical reason!  We did some tests locally and it seemed to work,
but now it is time for improving JSCL itself.
&lt;/p&gt;
&lt;p&gt;
It is not the only platform where JSCL could run on. I plan to add
support for &lt;a href=&quot;http://nodejs.org/&quot;&gt;Node JS&lt;/a&gt;. Indeed, it will let us use the REPL and tests in
the terminal in addition to the browser, which is a much more
convenient way to program.
&lt;/p&gt;
&lt;p&gt;
In the meantime, I would like to improve the compiler a little bit.
&lt;/p&gt;
&lt;p&gt;
Suggestion and patches are very welcome if you want to join us.
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;https://github.com/davazp/jscl&quot;&gt;https://github.com/davazp/jscl&lt;/a&gt;
&lt;/p&gt;
</content>
  </entry>
 
  <entry>
    <id>http://davazp.net/2013/01/24/Special-arguments</id>
    <link type="text/html" rel="alternate" href="http://davazp.net/2013/01/24/Special-arguments.html"/>
    <title>Special arguments</title>
    <published>2013-01-24T00:00:00-08:00</published>
    <updated>2013-01-24T00:00:00-08:00</updated>
    <author>
      <name>David Vázquez</name>
      <uri>http://davazp.net/2013/01/24/Special-arguments</uri>
    </author>
    <content type="html">&lt;p&gt;I have learnt a new trick these days. Did you know that you can
declare an argument as a special variable? Quoting &lt;a href=&quot;http://www.lispworks.com/documentation/HyperSpec/Body/03_daa.htm&quot;&gt;Hyperspec&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote&gt;

&lt;p&gt;Each required parameter is specified by a parameter variable var. var
is bound as a lexical variable &lt;i&gt;unless it is declared special&lt;/i&gt;.
&lt;/p&gt;
&lt;/blockquote&gt;


&lt;p&gt;
It seems to work also for optional and keyword arguments, but
Hyperspec does not mention it explicitly. For example, yo can do:
&lt;/p&gt;



&lt;pre class=&quot;example&quot;&gt;(defvar *variable*)
(defun foo () *variable*)
(defun foobar (&amp;amp;optional *variable*)
  (foo))
&lt;/pre&gt;

</content>
  </entry>
 
  <entry>
    <id>http://davazp.net/2013/01/04/lisp-to-javascript</id>
    <link type="text/html" rel="alternate" href="http://davazp.net/2013/01/04/lisp-to-javascript.html"/>
    <title>Lisp to Javascript compiler</title>
    <published>2013-01-04T00:00:00-08:00</published>
    <updated>2013-01-04T00:00:00-08:00</updated>
    <author>
      <name>David Vázquez</name>
      <uri>http://davazp.net/2013/01/04/lisp-to-javascript</uri>
    </author>
    <content type="html">&lt;p&gt;&lt;a href=&quot;http://puntoblogspot.blogspot.ie/&quot;&gt;Raimon Grau&lt;/a&gt; and I have been working on a simple Lisp to Javascript
compiler, in order to better understand how to bootstrap it. Now we
got it. It compiles itself and the resulting code can be used from the
browser. It can even call its own internals, which is quite nice.
&lt;/p&gt;
&lt;p&gt;
It is not very helpful, you can &lt;a href=&quot;http://davazp.github.com/ecmalisp/ecmalisp.html&quot;&gt;try it&lt;/a&gt;. Now I have to think if it
could be useful for something&amp;hellip; maybe a live Lisp tutorial, or make
it suitable for Android. Any suggestions?
&lt;/p&gt;
&lt;p&gt;
The repository with the whole history is at:
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://github.com/davazp/ecmalisp/&quot;&gt;http://github.com/davazp/ecmalisp/&lt;/a&gt;
&lt;/p&gt;
</content>
  </entry>
 
</feed>
