Eclipse Introduction: Release Notes, Release 1.1

Last updated: June 4, 1998
The following information is covered:

Bugs

It is our intention to fix these bugs as soon as possible and distribute the fix free of charge to paid Eclipse license-holders.

  1. No byte-code. The :BYTE output-format option to compile-file is non-functional in this version, and the function compile produces interpreted closures. Accordingly:

    Note, however, that the :C output-format option to compile-file is fully functional and that generic functions that use standard method-combination and which are created with C code (eg. produced by compile-file) do have compiled effective methods.

    See future work for more information about dynamic redefinition of built-in functions and dynamic loading of machine compiled (eg. .o) code.

  2. Binary I/O. Not implemented yet. Note, however, that CLOS streams are fully implemented.

  3. Conflicts among structure slots. ANSI requires that when one structure includes another, the including structure must suppress the generation of slot accessors that happen to have the same function name as the accessor of some inherited slot. Typically, this happens when :conc-name is nil. Eclipse does not currently suppress the generation of such duplicate accessors. Not that in the usual case, this only causes functions with identical behavior to occasionally be multiply defined. One might argue that the unusual cases are too confusing under ANSI to be considered good programming practice.

    Furthermore, ANSI requires that an error be signaled in code compiled at the highest (non-default) safety levels if any two slot names (whether present directly or inherited by the :include option) are the same under string=. Eclipse fails to do this. Note however, that Eclipse does properly signal an error if a defstruct defines two or more direct slots with the same (eq) name.

  4. Eclipse gets its notion of what days daylight savings time is in effect, and what the local timezone is for any particular date, from the operating system. Common Lisp can represent Coordinated Universal Time from any date begining with January 1, 1900. Many operating systems can represent dates begining only with January 1, 1970. Thus the time conversion functions encode-universal-time and decode-universal-time may give incorrect values for converting a local time between 1900 and the start of the operating sytem time (eg. January 1, 1970). The conversion will be correct when the timezone is explicitly given as an argument to these functions.

    This has nothing to do with Year-2000 issues. Eclipse is year 2000 compliant.


Other Issues

  1. Scanning directories for init files to load, as described in the Lisp Top-Level documentation, takes a long time. This can be avoided by using the -n option to eclipse.

  2. When starting up, eclipse prints progress reports to standard output. This will be eliminated in future versions when start up time is near instantaneous. These reports are not printed when the -s option to eclipse is used.

    In C applications that do not use the eclipse top level main(), these progress reports are not normally printed. They can be turned on within the clInit C function by setting the int clPROGRESS_FLAG global C variable to 1.

  3. C functions for generics. It is our intention that each Lisp function defined by ANSI should be represented in the C library by a C function. In fact, the library in this release does not contain C functions for any Lisp function that is actually defined as a generic-function in Eclipse. A listing of those ANSI C functions that are actually implemented as generic-functions is not provided, and can only be determined using Lisp. For example:
       (typep #'nth 'generic-function) => NIL
       (typep #'elt 'generic-function) => T
    
    To call a generic function from C, one must use funcall. For example, given that: the following calls are correct.
       clNth(index, list, clEOA);
       clFuncall(clNTH, index, list, clEOA);
       clFuncall(clELT, sequence, index, clEOA);
    
    The following will not compile, because there is no C function clElt():
       clElt(sequence, index, clEOA);    /* wrong */
    

  4. Subforms of defclass. Eclipse imposes no direct limit on the number of direct slots or direct default-initargs in a class. Following the MetaObject Protocol, a defclass form macroexpands into a call to the ensure-class function. In Eclipse, some of the arguments to ensure-class in the macroexpansion are forms involving the list function, which like all function calls, is potentially subject to call-arguments-limit. Thus, in code that has not been compiled to C, it is an error to specify more than 49 direct slots or more than 49 direct default-initargs in a defclass form. A simple workaround is to split the class definition into smaller "mixins". The same issue exists for attached methods in a defgeneric form.

    This issue may not effect code compiled to C, because C compiled calls to clList are not limited by call-arguments-limit. Of course, specific C implementations may impose their own restrictions on how many arguments may appear in calls to a C function.

  5. Room and Time. The format of the information reported by room is not documented in this version. Similarly, the format of the memory usage information reported by time is not documented. (The timing information reported by time is documented.)

  6. Recompilation. The C source code for platform-specific utilities, including the complete source for the garbage collector, are included in the distribution. The remaining C source code for the run time library may be purchased from Elwood Corporation.

    Users are free to edit and/or recompile all or part of the library using different compilers or compiler options. User code translated from Lisp to C by compile-file can be compiled using various compilers, subject to limitations on file size, etc. However, some of the C source files for the Eclipse library itself may not compile using compilers other than gcc or Visual C++.

    Visual C++ project files, and a VC++ generated makefile is included in the bin/windows directory, though the use of VC++ is not expressly supportable by Elwood Corporation.

    To compile the Eclipse library using standard make utilties, cd to the bin directory for your platform: bin/sparc, bin/hppa, bin/linux within the versioned eclipse directory.

    1. If you want to start with the object files that are already in the archive, execute the command: make unarchive. This will copy all the .o files from the library to the directory, so that you will only recompile files with source that has changed since these files were compiled by Elwood. (If you want to generate new .o files, you do not need to do this.)
    2. Any out of date files will be recompiled and replaced in the archive with the command: make eclipse.

    To make certain that all files are recompiled from source, including the garbage collector, type make recompile. This also automatically executes make setup.

  7. Platform versions. This distribution is available for Microsoft PC/Windows (win32), Sun Sparc/Solaris, HP PA-RISC/HP-UX, and PC/Linux machines.

    The precompiled libraries and executables distributed on the release CD have been produced and tested under Windows NT, Windows 95, Solaris 2.6, HP-UX 9.05, and Redhat Linux 4.0. They may need to be recompiled from the available C source to work under earlier releases. For example,

    Contact Elwood Corporation for more information about specific operating system versions beyond those listed.


[Previous] [Next] [Up] [Down] [Documentation Contents] [Eclipse Home Page]