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.
thank you,
Daniel
--------------------------------------------------------------------- Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Il giorno 7 apr 2017, alle ore 16:51, Gross, Daniel 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.
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&a... http://git.informatimago.com/viewgit/index.php?a=viewblob&p=public/bin&h=5e43fee1e6982d33b2f28bba256bc1a3aeaf7496&hb=a1dfa9e38ce00fab628053ef10999a0bb6f27395&f=clall
Hi Anton,
Indeed.
I missed that it can run as a standalone command line also. This wasn’t obvious to me while browsing the documentation.
I thought I will have to install a c development environment and write my own c code to call ECL and get it to try it out.
After installing ECL I was (luckily) asked if I want to run ECL, which opened a lisp REPL window.
thank you for all the responses,
Daniel
From: Anton Vodonosov [mailto:avodonosov@yandex.ru] Sent: Saturday, April 08, 2017 01:23 To: Gross, Daniel daniel.gross@intel.com; ecl-devel@common-lisp.net Subject: Re: quick way to test compatibility
So what's the problem? ECL is very easy to install
07.04.2017, 17:51, "Gross, Daniel" <daniel.gross@intel.commailto:daniel.gross@intel.com>:
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.
thank you,
Daniel
--------------------------------------------------------------------- Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. --------------------------------------------------------------------- Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.