- Sep 26, 2016
-
-
Raymond Toy authored
Since we're just going to return the original compiled function, there's no point in trying to get the function-lambda-expression of the function. So, if we're given a function, just return the (default) definition.
-
- Sep 10, 2016
-
-
Raymond Toy authored
If the function is already compiled and we don't have the source for it any more, just return without recompiling anything.
-
- Aug 27, 2015
-
-
Raymond Toy authored
Apply patch from Helmut, as is.
-
- Sep 12, 2013
-
-
Raymond Toy authored
* src/compiler/main.lisp: * Add *FILE-COMMENT-FROM-GIT* to control whether to use git to derive the file-comment. Default is T. Otherwise, the actual file-comment is used. * Update PROCESS-FILE-COMMENT to use *FILE-COMMENT-FROM-GIT*. * bin/build-all.sh * bin/build.sh * bin/build-world.sh * Add -G option to control whether file-comment's are derived from git.
-
- May 30, 2012
-
-
Raymond Toy authored
-
- May 28, 2012
-
-
Raymond Toy authored
src/compiler/main.lisp: o Remove special treatment of EXPORT (and others) in the compiler. I think we only need to treat IN-PACKAGE and DEFPACKAGE specially. src/contrib/defsyste/defsystem.lisp: o Add FIND-SYSTEM to the defpackage export list for MAKE. src/tools/hemcom.lisp: o Add defpackage for hemlock-internals since export no longer has the compile-time effect.
-
- May 26, 2012
-
-
Raymond Toy authored
format from the file contents ala emacs.
-
- Nov 04, 2011
-
-
Raymond Toy authored
-
- Oct 13, 2011
-
-
Raymond Toy authored
-
Raymond Toy authored
DESCRIBE prints them neatly.
-
Alex Goncharov authored
Unify the use of the FASL and NIL words across all documentation strings in this file.
-
- Oct 12, 2011
-
-
Alex Goncharov authored
Plus one dot added. Minus the new line in ext:file-comment
-
- Oct 11, 2011
-
-
Raymond Toy authored
use the original file comment.
-
- Oct 10, 2011
-
-
Alex Goncharov authored
-
- Oct 09, 2011
-
-
Alex Goncharov authored
-
- Sep 25, 2011
-
-
Raymond Toy authored
entries with just the file path, removing the revision number, date, author and state. The actual information is now computed during compilation and stored in the fasl itself. (See ticket:48.)
-
Raymond Toy authored
comment into the compiled file. If git is not found or if some other error occurs, the file comment is whatever string was given. Need to update the file-comments of every file to remove erroneous dates and revisions.
-
- Aug 21, 2011
-
-
rtoy authored
Patch from Helmut Eller, cmucl-imp 2011-06-11.
-
- Mar 28, 2011
-
-
rtoy authored
exist. Issue noted by Douglas Crosher, cmucl-imp, 2011-03-23.
-
- Sep 24, 2010
-
-
rtoy authored
should be handled. compiler/main.lisp: o Add DECODING-ERROR slot to SOURCE-INFO structure. o MAKE-FILE-SOURCE-INFO requires a decoding error argument so the SOURCE-INFO structure can be properly initialized. o Add :DECODING-ERROR keyword arg to COMPILE-FILE to specify how decoding errors are handled. Default is T, which means to signal an error. compiler/fndb.lisp: o Tell compiler about the new parameter. general-info/release-20c.txt: o Document change.
-
- Sep 15, 2010
-
-
rtoy authored
a file. In particular this converts :default to the actual format instead of leaving it as :default. This means when the file is later opened for source-info, the actual format is used instead of whatever the default format is at the time.
-
- Jun 01, 2010
-
-
rtoy authored
-
- Apr 20, 2010
-
-
rtoy authored
may get confused with source locations if the reader macros are installed.
-
- Apr 19, 2010
-
-
rtoy authored
-
- Apr 03, 2010
-
-
rtoy authored
in the compiled file don't change it.
-
- Mar 19, 2010
-
-
rtoy authored
boot-2010-02-1 as the bootstrap file. You should probably also use the new -P option for build.sh to generate and update the po files while building.
-
- Mar 18, 2010
-
-
rtoy authored
continued, the accessor is redefined. Previously, a warning was printed and the structure was (mostly) undefined. compiler/proclaim.lisp: o Add new function NOTE-IF-ACCESSOR to check if we're redefining a slot accessor. If so, signal a cerror, and redefine if continued. o Adjust DEFINE-FUNCTION-NAME to call NOTE-IF-ACCESSOR. compiler/main.lisp: o Make COMPILE-FIX-FUNCTION-NAME call NOTE-IF-ACCESSOR to catch attempts to redefine a slot-accessor. code/macros.lisp: o Move call to C::DEFINE-FUNCTION-NAME to the top of C::%%DEFUN before we set the fdefinition. This allows us to give up before modifying anything if we choose not to redefine the slot accessor.
-
- Mar 16, 2010
-
-
rtoy authored
a macro. Previously, the fdefinition of NAME was set.
-
- Mar 14, 2010
-
-
rtoy authored
function-lambda-expression is available and is in a null lexical environment. This is the quite useful previous behavior.
-
- Feb 15, 2010
-
-
rtoy authored
2010/02/14: $ echo '(compile nil (lambda (x) x))' > foo.lisp $ lisp -noinit * (compile-file "foo.lisp") * (load *) causes an error.
-
- Jan 22, 2010
-
-
rtoy authored
same external format used for reading the file. This ensures that these files will make sense if the source file makes sense for the given external format.
-
- Jun 11, 2009
-
-
rtoy authored
unicode-utf16-extfmt-2009-06-11.
-
- Jul 01, 2005
-
-
rtoy authored
semicolon in some cases (usually load time value of something from PCL).
-
- Jun 13, 2005
-
-
rtoy authored
This is done by faking it. The file being compiled is compiled as usual, but we append fake forms to the file as if they came from the file. These fake forms insert the necessary information into the xref databases when the fasl is loaded. To support this feature, we also updated COMPILE-FILE to recognize the :xref keyword arg. Set this to non-NIL to enable computing and saving xref information. code/exports.lisp: o Update XREF exports compiler/fndb.lisp: o Update with new definition of COMPILE-FILE. compiler/main.lisp: o Append fake forms to the file being compiled to save xref information to the fasl. This clears out any xref info we might have for the file, and inserts the necessary xref information into the database. o Add :XREF keyword arg to COMPILE-FILE. Default value of :XREF is C::*RECORD-XREF-INFO*. compiler/xref.lisp: o Add function to invalidate xref info for a given namestring, so we can reset the info when a fasl with xref info is loaded. o Add a function to find all xref information for a given pathname. Used for saving xref info to a fasl.
-
- Dec 16, 2004
-
-
rtoy authored
done, because we don't do anything with the loop results. ir1util.lisp: o Make sure component initializes the outer-loop slot of the component. main.lisp: o Add defvar *loop-analyze*, defaulting to NIL. o Run loop analysis code when *loop-analyze* is T. node.lisp: o Make the outer-loop slot of a component a required arg and adjust the declared type appropriately. represent.lisp: o Add ASSIGN-TN-DEPTHS function to assign loop depths to TNs. vop.lisp: o Forgot to add the loop-depth slot for TNs.
-
- Oct 26, 2004
-
-
rtoy authored
COMPILER-ERROR, to allow slime better control of read errors. Patch from Helmut Eller, cmucl-imp, 2004-10-25.
-
- May 10, 2004
- Apr 06, 2004
-
-
rtoy authored
cmucl-imp: The patch below adds a somewhat general mechanism to the get the "current location". So every macro that wants to record the source location, can insert a call to SOURCE-LOCATION in the generated code and safe the result in a appropriate place. SOURCE-LOCATION is a compiler-macro and returns a quoted struct with the source info. The patch adds the definition for SOURCE-LOCATION some modifications for the defclass, defgeneric and defmethod macros. Classes, generic functions and methods have already a "source" slot and the result of SOURCE-LOCATION is just stored into that slot. (The source slot contains currently only the *loadpath*, which is is not very useful, if the fasl file is in a different directory than the source file.)
-
- Jan 16, 2004
-
-
toy authored
-