Embeddable Common-Lisp main repository.
Find a file
Daniel Kochmański 0f68b54cf1 format: flonum-to-string: Remove special case when width is 1.
This "special case" isn't general enough to cover situations, when
width is too small. If we print ie "3.1421", then at least three
characters are required, but printing "0.1231" requires only two of
them. Also 0 is a valid argument forcing using minimal set of
characters to print number reliably (with smallest accuracy possible).

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
2015-05-10 21:36:30 +02:00
contrib Merge branch 'develop' into upgrade-libs 2015-04-12 11:54:37 +02:00
examples An example on how to embed ECL using C compilers and ASDF. 2013-05-28 23:07:05 +02:00
msvc bdwgc: Update library to version 7.4.2. 2015-04-24 23:28:24 +02:00
src format: flonum-to-string: Remove special case when width is 1. 2015-05-10 21:36:30 +02:00
.gitignore gitignore: ignore tgz archives. 2015-03-14 19:16:05 +01:00
CHANGELOG changelog: add recent changes. 2015-05-03 11:52:49 +02:00
configure Preserve quoting when passing the arguments to the build directory 2008-08-27 09:50:44 +02:00
Copyright Release: update ANNOUNCEMENT and update Copyrights. 2015-02-21 20:35:51 +01: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