Embeddable Common-Lisp main repository.
Find a file
Nils Bruin 8a2d0c96e8 Patch to improve CLHS compliance of file-position
CLHS mandates that failure to determine or set the file position on a
stream should be signalled by returning NIL rather than raising an error.

Also, POSIX does not mandate that lseek fail on terminals, but these devices
obviously are not seekable. Hence, CLHS compliance is improved by explicitly
returning NIL when the requested stream is a tty.
2015-01-26 18:30:04 -08:00
contrib Fixed a NUL-termination bug in SOCKET-BIND and SOCKET-CONNECT. 2014-10-14 21:39:58 +00:00
examples An example on how to embed ECL using C compilers and ASDF. 2013-05-28 23:07:05 +02:00
msvc The Windows GMP makefile must be updated, removing the functions which are not used. 2013-10-06 22:20:43 +02:00
src Patch to improve CLHS compliance of file-position 2015-01-26 18:30:04 -08:00
.gitignore Ignored the cov-int/ directory created by Coverity Scan tooling. 2014-10-15 14:55:35 +00:00
ANNOUNCEMENT Annotate the change in LOOP 2013-05-27 22:37:16 +02:00
configure Preserve quoting when passing the arguments to the build directory 2008-08-27 09:50:44 +02:00
Copyright Debian needs a more precise wording of the license 2005-12-14 09:51:11 +00:00
INSTALL New file with a sketch of the installation instrucitons 2009-08-12 23:54:41 +02:00
LGPL Initial revision 2001-06-26 17:14:44 +00:00
Makefile.in Now we're using GIT; and some helpful remarks. 2014-02-23 11:21:20 +01:00
README.1st Fix ecl_eval to not have quotes by default. 2014-02-27 20:33:11 +01:00

You can find the preprocessed documentation in ./doc in HTML format.

Debugging via GDB:
------------------

src/util/gdbinit (and, therefore, build/.gdbinit) defines
a few convenience things - T, NIL, and, even more important,
ecl_print.

This is a GDB function that prints a 'cl_object' human-readably:

    (gdb) ecl_print x
    $39 = t_fixnum
    $40 = (ecl_base_char *) 0x42b4000 "10652336"

And another that helps to see a thread state:

    (gdb) ecl_eval "cl:*package*"

Please note that double quotes have to be escaped:

    (gdb) ecl_eval "(concatenate 'string \"a\" \"b\")"

Both will give a string with "readable" content, and a pretty-printed one.



Using VIM:
----------

.git/tags is a VIM-compatible tag file; if you're using
the fugitive plugin, it will be used automatically.



About testing:
--------------

make check
	to (get, initialize and) run the tests

make -C build/tests do-regressions
make -C build/tests do-ansi
make -C build/tests do-quicklisp
make -C build/tests do-mop-tests
	runs the specified tests

make -C build/tests/ show-fails
	prints results