On 8 Apr 2017, at 11:29, Fabrizio Fabbri <strabixbox@yahoo.com> wrote:
Il giorno 7 apr 2017, alle ore 16:51, Gross, Daniel <daniel.gross@intel.com <mailto:daniel.gross@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@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__