X-Git-Url: http://repo.macrolet.net/gitweb/?p=jscl.git;a=blobdiff_plain;f=README.org;h=bfa6cc6deec29d44fa76a473dad496e32ab4a6e5;hp=a54a9f061c1abb079599f2ecf5cb9bfd1fda5b1a;hb=HEAD;hpb=fe7f269fb929dfe2420900bbd6400cb7d212d327 diff --git a/README.org b/README.org index a54a9f0..bfa6cc6 100644 --- a/README.org +++ b/README.org @@ -1,26 +1,28 @@ -* Ecmalisp +* JSCL - Ecmalisp is a Lisp-to-Javascript compiler, which is bootstrapped + JSCL is a Common Lisp to Javascript compiler, which is bootstrapped from Common Lisp and executed from the browser. - + ** Getting started -You can try a demo [[http://davazp.net/ecmalisp/ecmalisp.html][here]]. But if you want to hack ecmalisp, you will -have to download the repository +You can try a demo [[http://davazp.net/jscl/jscl.html][here]]. But if you want to hack JSCL, you will have +to download the repository -=git clone git@github.com:davazp/ecmalisp.git= +=git clone git@github.com:davazp/jscl.git= -/load/ ecmalisp.lisp in your Lisp, and call the bootstrap function to +/load/ jscl.lisp in your Lisp, and call the bootstrap function to compile the implementation itself: -=(bootstrap)= +=(jscl:bootstrap)= -It will generate a ecmalisp.js file in the top of the source tree. Now -you can open ecmalisp.html in your browser and use it. +It will generate a jscl.js file in the top of the source tree. Now you +can open JSCL.html in your browser and use it. ** Status -It is just an experiment, of course. But it supports partially most -common special operators, functions and macros. In particular: + +JSCL is and will be a subset of Common Lisp. Of course it is far +from complete, but it supports partially most common special +operators, functions and macros. In particular: - Multiple values - Explicit control tranfers ([[http://www.lispworks.com/documentation/HyperSpec/Body/s_tagbod.htm][tagbody]] and [[http://www.lispworks.com/documentation/HyperSpec/Body/s_go.htm][go]]) @@ -30,7 +32,7 @@ common special operators, functions and macros. In particular: - Optional and keyword arguments - SETF places - Packages - + The compiler is very verbose, some simple optimizations or /minification/ could help to deal with it.