- Jan 10, 2021
-
-
Raymond Toy authored
The destructuring shortcut in loop doesn't require all the parts be available. If they're not, each item is replaced by NIL. This is fixed by still using `destructuring-bind`, except we mark everything as optional.
-
- Nov 07, 2014
-
-
Raymond Toy authored
codepoint and glyph iterators.
-
- Nov 06, 2014
-
-
Raymond Toy authored
* src/code/string.lisp: * Add WITH-STRING-CODEPOINT-ITERATOR to allow iterating over the codepoints in a string. * Add WITH-STRING-GLYPO-ITERATOR to allow iterating over the glpyhs in a string. * src/code/exports.lisp: * Export WITH-STRING-CODEPOINT-ITERATOR and WITH-STRING-GLYPH-ITERATOR. * src/code/loop.lisp: * Support (loop for cp being the codepoint of string ...) which extracts the consecutive codepoints from the string. Allow codepoints, code-point, and code-points as aliases of codepoint. * Support (loop for g-string being the glyph of string ...) which extracts each glyph (as a string) from the string. Allow glpyhs as an alias. * tests/extended-loop.lisp: * New file of tests for the new loop paths. * src/i18n/locale/cmucl.pot: * Update.
-
- Nov 04, 2011
-
-
Raymond Toy 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.)
-
- Apr 20, 2010
-
-
rtoy authored
may get confused with source locations if the reader macros are installed.
-
- Apr 19, 2010
-
-
rtoy authored
-
- 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.
-
- Aug 09, 2009
-
-
rtoy authored
-
- Jul 15, 2008
- Jul 14, 2008
-
-
rtoy authored
code/loop.lisp: o In LOOP-TRANSLATE, create block for loop named NIL by checking for the end of the list, not for NIL in the list. o In LOOP-DO-NAMED, don't append NIL to *LOOP-NAMES* so we can create blocks named NIL. (Why was this being done before?) general-info/release-19f.txt: o Update
-
- Oct 21, 2004
-
-
rtoy authored
2004-08-20. Use boot-2004-10-2.lisp to bootstrap. o We were not putting the loop prologue code after the initializations for with, for, and as. o The step form for for-as-equals was getting optimized into the body, instead of leaving one in the prologue for other initializations. o The for-across clause was putting the length computation into the prologue, but should belong in the initialization part before the body. See comments for more info.
-
- Oct 19, 2004
-
-
rtoy authored
Bug noted by Bruno Haible, cmucl-imp, 2004-10-15: (LOOP WITH A = 0 FOR A DOWNFROM 10 TO 0 DO (PRINT A)) should signal a program-error.
-
- Oct 05, 2004
-
-
rtoy authored
the declaration on the list. Fixes the bug reported by Frode Vatvedt Fjeld on cmucl-imp, 2004/09/06: (compile (defun f (x) (loop for (a . b) on x collect a))) (f '(1 2 . 3)) => error It should return '(1 2).
-
- Jan 18, 2004
-
-
toy authored
(loop for nil from 0 to 5 do (print "x"))
-
- Aug 28, 2003
-
-
gerd authored
when (eq i 'a) return :good while (< i 12) collect i) signaling a type-error because the while is done before the when. Found by Paul Dietz. * src/code/loop.lisp (loop-do-if): Move the call to loop-pseudo-body outside of the binding of *loop-inside-conditional*.
-
- May 28, 2003
-
-
gerd authored
* src/code/loop.lisp (loop-for-arithmetic): Use type number instead of real.
-
- May 05, 2003
-
-
emarsden authored
Fix misleading commentary on the implications of the LOOP license (from Adam Warner).
-
- Feb 21, 2003
-
-
toy authored
value and key to NIL on the last iteration, which doesn't work if we have type declarations for the value/key.
-
- Feb 20, 2003
-
-
gerd authored
-
- Dec 04, 2002
-
-
toy authored
0.7.10.2: Fix remaining LOOP bugs from GCL ansi-tests ... duplicate variable names (at any level) signal an error at macroexpansion time; ... IT is only a special loop symbol in the first clause of a conditional execution clause.
-
- Nov 26, 2002
-
-
toy authored
additions to handle the loops (loop for i from 1 to 10 collect i always (< i 20)) (loop ... thereis i collect i) correctly.
-
- Nov 25, 2002
-
-
toy authored
who got this from SBCL.
-
- Nov 22, 2002
-
-
toy authored
* Use *PACKAGE* if no IN or OF preposition follows BEING THE SYMBOLS etc. * Treat DOWNTO like UPTO in (loop for i downto 10 ...). * Handle the strange REPEAT cases in the ANSI test.
-
toy authored
o Add ABOVE keyword for loops o Handle nil in destructuring bindings. o Put proper blocks for named loops (and unnamed loops) o Signal program-error for loop expansion errors o Handle bogus INTO vars
-
- Nov 14, 2002
-
-
toy authored
o (loop for nil being the hash-keys of (make-hash-table) count t) o (loop for k being the hash-keys of (make-hash-table) using (hash-value (v1 . v2)) count t) From Gerd Moellmann.
-
- Jul 30, 2002
-
-
toy authored
o Declare WITH-introduced variables o Compound form must follow INITIALLY, FINALLY, DO.
-
- Jul 06, 2002
-
-
toy authored
o We weren't accepting loops of the form (LOOP FOR I BY (INCF X) FROM ...) (See the example in 6.1.2.1.1 of the CLHS). o PRESENT-SYMBOL means internal and external symbols of a package.
-
- Oct 04, 2001
-
-
toy authored
Loop doesn't handle loops like (loop with (a b) = '(1 2) and (c d) = '(3 4) return (list a b c d)) correctly because it fails to destructure the variables correctly.
-
- Mar 10, 2000
-
-
dtc authored
are in the EXTENSIONS package on CMUCL. Fix from Peter Van Eynde.
-
- Mar 19, 1999
-
-
dtc authored
Raymond Toy.
-
- May 01, 1998
-
-
dtc authored
-
- Feb 03, 1998
- Oct 31, 1994
-
-
ram authored
-
- Oct 29, 1994
- Oct 05, 1994
-
-
ram authored
-