Commit Graph

910 Commits

Author SHA1 Message Date
Abdulaziz Ghuloum b24ce124b2 * Added fold-left and fold-right. 2007-10-10 06:43:25 -04:00
Abdulaziz Ghuloum 995944723d * added tests for procedure "for-all" 2007-10-10 05:28:07 -04:00
Abdulaziz Ghuloum 82eb606715 * arguments to expanded let now get proper procedure names so that
(let ((f (lambda (x) x))) f) prints as #<procedure f>.
2007-10-10 05:06:31 -04:00
Abdulaziz Ghuloum ca27d8e626 * compiler and fasl-write and fasl-read now understand code
annotations
2007-10-10 04:41:11 -04:00
Abdulaziz Ghuloum c3d410d572 * Added for-all and exists 2007-10-10 03:53:42 -04:00
Abdulaziz Ghuloum 241bdd8d4d * renamed all hash-table primitives to their r6rs counterparts. 2007-10-09 09:22:02 -04:00
Abdulaziz Ghuloum 75692f0306 * deleted ikarus.syntax.ss which is no longer needed
* removed (ikarus system $all) library which is replaced by
  (psyntax system $all)
2007-10-09 09:05:22 -04:00
Abdulaziz Ghuloum 687c45dd6f * reintegrated the expander from the psyntax distro. 2007-10-09 08:54:28 -04:00
Abdulaziz Ghuloum 09fd6ff1b3 * re-integrated the library-manager from the psyntax distro. 2007-10-09 07:56:30 -04:00
Abdulaziz Ghuloum 658ad73ed2 * merged identifier->library-map from psyntax distro. 2007-10-09 06:01:20 -04:00
Abdulaziz Ghuloum 8de86bda33 * added legend entries from psyntax distro. 2007-10-09 05:23:40 -04:00
Abdulaziz Ghuloum 411c05c74b * Made top-level set! more like r5rs's top-level set!. 2007-09-15 23:42:43 -04:00
Abdulaziz Ghuloum 79916549cd * Added fxif 2007-09-15 03:27:28 -04:00
Abdulaziz Ghuloum 4b0a0411c0 * Added fx+/carry, fx*/carry, and fx-/carry (with tests) 2007-09-15 03:16:55 -04:00
Abdulaziz Ghuloum 96bd57c922 * Added fixnum-width, least-fixnum, greatest-fixnum 2007-09-15 02:06:16 -04:00
Abdulaziz Ghuloum 82a00e2628 * Fixed a bug in the GC that caused performance to degrade when
ik_alloc extends the heap (by 128KB) and the heap size remains set
  to that value (causing more frequent GCs than usual).  Now, after
  ik_collect, if the heapsize is less than 4MB, it's extended to
  4MB (minimum).
2007-09-15 01:54:45 -04:00
Abdulaziz Ghuloum a2ed662821 * Added fxmin and fxmax 2007-09-15 00:24:38 -04:00
Abdulaziz Ghuloum 54472a1994 * Added fxarithmetic-shift* procedures.
* Added trace examples in ikarus.trace.h
* slatex benchmark now compiles properly.
2007-09-15 00:14:47 -04:00
Abdulaziz Ghuloum ea28d03f43 * Added make-traced-procedure, trace-lambda and trace-define. 2007-09-13 22:42:48 -04:00
Abdulaziz Ghuloum 7d46631e14 * (fxsra <fx> <32*i>) now returns a proper value (0 or 1) 2007-09-13 21:09:09 -04:00
Abdulaziz Ghuloum cb3b0b3edd * fx+ now signals an error on overflow properly. 2007-09-13 19:25:47 -04:00
Abdulaziz Ghuloum 3facf76eff * Added fx=?, fx<?, fx<=?, fx>?, and fx>=? 2007-09-13 16:39:13 -04:00
Abdulaziz Ghuloum c552e0b3b1 * char-category/property predicates now gain an 80% reduction in
runtime due to using unsafe prims.
2007-09-13 15:59:39 -04:00
Abdulaziz Ghuloum 2b50672aa2 * Fixed yet another bug in extracting category info from
UnicodeData.txt
2007-09-13 15:49:02 -04:00
Abdulaziz Ghuloum 4ff03fcd77 * cleanup of extract-info.ss 2007-09-13 07:09:31 -04:00
Abdulaziz Ghuloum a85669fc4d * Fixed the char-numeric? Numeric property. 2007-09-13 07:04:13 -04:00
Abdulaziz Ghuloum 9a62c12c66 * Added char-alphabetic? char-numeric? char-whitespace?
char-upper-case?  char-lower-case?  char-title-case?
2007-09-13 06:27:31 -04:00
Abdulaziz Ghuloum 62ee718fb8 * rewrote char categories stuff
* constituents vector is gone

removed:
  src/unicode/extract-categories.ss
  src/unicode/unicode-constituents.ss
added:
  src/unicode/extract-info.ss
  src/unicode/unicode-charinfo.ss
modified:
  src/ikarus.boot
  src/ikarus.unicode-data.ss
  src/unicode/unicode-data.ss
2007-09-13 06:11:26 -04:00
Abdulaziz Ghuloum e6f678bb52 * Added bytevector-u32-native-ref, bytevector-u32-native-set!,
bytevector-s32-native-ref, and bytevector-s32-native-set!
2007-09-13 01:57:36 -04:00
Abdulaziz Ghuloum d6ed7b8a4d * Added bytevector-u32-ref, bytevector-u32-set!, bytevector-s32-ref,
and bytevector-s32-set!.
2007-09-13 01:44:10 -04:00
Abdulaziz Ghuloum 2f75448f03 * Added bitwise-arithmetic-shift, bitwise-arithmetic-shift-left,
and bitwise-arithmetic-shift-right,
2007-09-13 01:10:57 -04:00
Abdulaziz Ghuloum 6b1860af65 * sll now works for all arguments. 2007-09-13 00:47:41 -04:00
Abdulaziz Ghuloum 3247c0641d * sll now supports shifting fixnums by any amount. 2007-09-13 00:08:41 -04:00
Abdulaziz Ghuloum 52a36d4c3f * Added sra, fixing the bignum shift bugs. 2007-09-12 23:34:21 -04:00
Abdulaziz Ghuloum ef1a828f1f * Fixed a bug in that caused exact->inexact to return nans when
given big ratnums.  E.g.
    (exact->inexact (/ (expt 2 3000) (- (expt 2 3000) 1)))
  now returns 1.0 instead of +nan.0
2007-09-12 19:08:45 -04:00
Abdulaziz Ghuloum 9d32ae5767 * ikarus-fasl.c can now read bignums. 2007-09-12 16:59:21 -04:00
Abdulaziz Ghuloum 888833f686 * Added flexpt 2007-09-12 03:56:08 -04:00
Abdulaziz Ghuloum 69d692417f * Added real-valued?, integer-valued? and rational-valued? 2007-09-12 03:10:54 -04:00
Abdulaziz Ghuloum c55cad8502 * Added finite?, infinite?, and nan? 2007-09-12 02:44:19 -04:00
Abdulaziz Ghuloum ed45b486a3 * Added div, mod, div-and-mod, div0, mod0, div0-and-mod0. 2007-09-12 02:37:03 -04:00
Abdulaziz Ghuloum 9d8ceef99f * Added rationalize 2007-09-12 00:57:04 -04:00
Abdulaziz Ghuloum 2eaaa77615 * Added the procedure expand:
(expand <expr> <environment>)
  expands the expression in environment and returns two values:
    an expanded core expression and a list of libraries that must be
    invoked before the core expression is evaluated.
2007-09-11 13:32:14 -04:00
Abdulaziz Ghuloum ca2be2436a * string->number now understands +nan.0, -nan.0, +inf.0 and -inf.0. 2007-09-11 03:13:28 -04:00
Abdulaziz Ghuloum 277710d6d1 * Added reader syntax for +nan.0 -nan.0 +inf.0 and -inf.0 2007-09-11 03:06:35 -04:00
Abdulaziz Ghuloum bf28274d44 * fixed a bug in fldenominator
* added a file rationalize.ss that has the seed for the rationalize
  function
2007-09-11 02:06:26 -04:00
Abdulaziz Ghuloum e8f05ac4b7 * Added truncate and fltruncate 2007-09-11 00:22:23 -04:00
Abdulaziz Ghuloum 79b6e46cab * Added bytevector clause for equal?
* exported real? (number? really until complex nums are added).
2007-09-11 00:13:10 -04:00
Abdulaziz Ghuloum 3ecf53f9fd * Added flexp 2007-09-10 23:36:36 -04:00
Abdulaziz Ghuloum ad3f96d2ad * Added flnumerator and fldenominator 2007-09-10 23:30:17 -04:00
Abdulaziz Ghuloum 1c86a105c5 * Added flceiling, flfloor, and fixed rounding bug in flround and
round
2007-09-10 23:17:06 -04:00