quick way to test compatibility

Pascal Bourguignon pjb at informatimago.com
Sat Apr 8 09:36:14 UTC 2017


> On 8 Apr 2017, at 11:29, Fabrizio Fabbri <strabixbox at yahoo.com> wrote:
> 
> 
>> Il giorno 7 apr 2017, alle ore 16:51, Gross, Daniel <daniel.gross at intel.com <mailto:daniel.gross at intel.com>> ha scritto:
>> 
>> Hi, 
>>  
>> I have some lisp source code and would like to test compatibility with ECL. Is there a simple way to test for compatibility. Ideally, I would compile and/or repl and run the code with ecl.
>>  
> Hi Daniel,
> which OS? You may want to build the latest release, is quite easy.
> 
> To test you can easily do something like
> 
> ecl -load “foo.lsp”
> 
> or 
> 
> ecl -eval “(print 1)” -eval “(quit)”
> 
> cheers
> f.
> 

Actually if you want to test compatibility, you could use clall:

[pjb at despina :0.0 ~]$  clall -r '(let ((x (1+ most-positive-fixnum))) (eq x x))' \
                         '(eq (1+ most-positive-fixnum) (1+ most-positive-fixnum))'

Armed Bear Common Lisp         --> T
Armed Bear Common Lisp         --> NIL
Clozure Common Lisp            --> T
Clozure Common Lisp            --> NIL
CLISP                          --> T
CLISP                          --> NIL
ECL                            --> T
ECL                            --> NIL
SBCL                           --> T
SBCL                           --> NIL

clall can be found at:
http://git.informatimago.com/viewgit/index.php?a=viewblob&p=public/bin&h=5e43fee1e6982d33b2f28bba256bc1a3aeaf7496&hb=a1dfa9e38ce00fab628053ef10999a0bb6f27395&f=clall <http://git.informatimago.com/viewgit/index.php?a=viewblob&p=public/bin&h=5e43fee1e6982d33b2f28bba256bc1a3aeaf7496&hb=a1dfa9e38ce00fab628053ef10999a0bb6f27395&f=clall>


-- 
__Pascal J. Bourguignon__



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20170408/0fd0cf83/attachment.html>


More information about the ecl-devel mailing list