Commit Graph

1074 Commits

Author SHA1 Message Date
Abdulaziz Ghuloum 5a6e106a44 * upgrades to new(er) versions of automake and autoconf.
* updated configure.ac and makefile.ac files for the new version
  (applying some of the patch in bug 160100).
2007-11-10 23:50:54 -05:00
Abdulaziz Ghuloum ff81bb99d9 * Fixed bug 160100: ikarus.boot should not be in /usr/local/bin
- ikarus.boot now goes to $prefix/lib/ikarus/ikarus.boot
  - location of bootfile is now hard-coded in the ikarus executable
  - pdf/README/COPYING/GPL-3 files go to $prefix/doc/ikarus/
  - Added a 1-line "scheme-script" script to bin.
2007-11-10 08:28:19 -05:00
Abdulaziz Ghuloum 6938657fad * Fixed bug 161749: (define-syntax (foo x) 12) does not work 2007-11-10 06:28:29 -05:00
Abdulaziz Ghuloum 2a8cc2a7b4 * Added bytevector-ieee-single-ref and bytevector-ieee-single-set! 2007-11-08 22:56:14 -05:00
Abdulaziz Ghuloum 5ce6ca4efb * Added bytevector-ieee-single-native-ref and bytevector-ieee-single-native-set! 2007-11-08 22:22:24 -05:00
Abdulaziz Ghuloum 62c0643c19 * Added bitwise-not. 2007-11-08 20:57:11 -05:00
Abdulaziz Ghuloum 6e6c9c9c1b * Added bitwise-and 2007-11-08 19:18:37 -05:00
Abdulaziz Ghuloum cd3d4ab77a * Fixed bug 160975: flabs is broken
- flabs had reversed comparison (negating the positive instead of
    the negative), fixed.
  - abs was also broken around -0.0, fixed.
2007-11-08 13:16:26 -05:00
Abdulaziz Ghuloum 82c3e568c7 * Fixed bug 160972: fltruncate throws "not a procedure" 2007-11-08 12:15:28 -05:00
Abdulaziz Ghuloum 97d9c4ca42 * improved performance for fl+, fl-, fl*, fl/, fl=?, fl<?, fl<=?, fl>? and fl>=?
- results in 
    45% reduction in runtime for fpsum
    43% reduction in runtime for fibfp
    29% reduction in runtime for pnpoly
    28% reduction in runtime for mbrot
  - and
    23% increase in compile time for nucleic
    11% increase in compile time for ray
    10% increase in compile time for fft
2007-11-08 12:07:48 -05:00
Abdulaziz Ghuloum df46913530 * Partial fix for bug 160780: missing 2 and 3 arg forms of number->string
- second argument is implemented, precision is yet to be done.
2007-11-07 22:28:42 -05:00
Abdulaziz Ghuloum 75705649e2 * fixnum->string now takes an extra radix (in 2 8 10 16) argument. 2007-11-07 20:02:32 -05:00
Abdulaziz Ghuloum ca25f972fc * Added missing automake/autoconf files. 2007-11-07 18:04:59 -05:00
Abdulaziz Ghuloum 800eb3b732 * Fixing bug 159235: undefined GMP symbols
- I don't know if this is the best solution, but it seems like a
    working hack.
2007-11-07 13:05:31 -05:00
Abdulaziz Ghuloum dd5896761f * minor cleanup in reader (and minor bug fixes). 2007-11-07 11:41:28 -05:00
Abdulaziz Ghuloum da16a5ef7a * reader now recognizes all standard character names:
#\nul #\alaram #\backspace ... #\delete
2007-11-07 11:24:18 -05:00
Abdulaziz Ghuloum e75bd7e33c * Added get-line. (answers to bug 160663) 2007-11-07 11:00:39 -05:00
Abdulaziz Ghuloum 1b103a4ab8 * bytevector-ieee-double-ref/set! now work 2007-11-07 04:54:54 -05:00
Abdulaziz Ghuloum 7dbce6e888 * Added bytevector-ieee-double-ref and bytevector-ieee-double-set!
(which does not yet support big endianness)
2007-11-07 01:26:38 -05:00
Abdulaziz Ghuloum bcd96a8dd4 * Added bytevector-ieee-double-native-ref/set! 2007-11-06 21:08:52 -05:00
Abdulaziz Ghuloum 7783cef318 * Fixed typo in "incorrect number of arguments" (added "s"). 2007-11-06 17:29:25 -05:00
Abdulaziz Ghuloum 327e6e9371 * Fixed bug 160483: described as "incorrect number of arguments" reported as "not a function"
- The real reason was in the register allocator, where one live
    variable (the memmory size of the bytevector) was not marked live 
    across the call to do-overflow.  When the overflow returned, the 
    value of that variable (which was in the %ebx register) was
    trashed, leading to an incorrect bump in the allocation pointer.
  - Note to self, never blame anything on cache coherency again!
2007-11-06 17:04:27 -05:00
Abdulaziz Ghuloum 217dff5d3e * Added pretty formats for library and import forms, fixed
pretty format of define.
2007-11-06 03:04:32 -05:00
Abdulaziz Ghuloum 9632e19032 Fixes bug 160395: missing import from r6r script reports bogus error. 2007-11-06 01:14:27 -05:00
Abdulaziz Ghuloum 8cabfa75a7 * timelog updated to show results of latest addition to compiler. 2007-11-05 23:09:08 -05:00
Abdulaziz Ghuloum 753838aeec * Fixed benchmarking tools. 2007-11-05 22:49:38 -05:00
Abdulaziz Ghuloum 24e142bc49 * Added benchmarks/summarize.pl to summarize benchmark results. 2007-11-05 17:21:53 -05:00
Abdulaziz Ghuloum 2246a2b901 * Added benchmark logging Makefile in benchmarks/ and two log files. 2007-11-05 16:56:44 -05:00
Abdulaziz Ghuloum 037351e27e * Two minor non-optimizations for $event-check and $stack-overflow-check
* If a procedure does not make non-tail calls, stack-overflow is eliminated.
  * If a procedure does not make any calls (leaf routine), then event-check 
    is eliminated as well.
  (total savings: about 10% reduction in boot-file size)
2007-11-05 16:23:13 -05:00
Abdulaziz Ghuloum 8e85c3303b * Switched order of two compiler passes: specify-representation and
insert-stack-overflow-check.  This will make it easier to remove 
   unnecessary stack checks and to add some that we *may* be
   missing.
* Added a $stack-overflow-check primitive that takes care of checking
  and calling ikrt_stack_overflow if we did detect an overflow.
2007-11-05 15:30:42 -05:00
Abdulaziz Ghuloum 90a243ee63 * Fixed bug 160101: modulo produces "BUG: unsupported" 2007-11-05 02:24:39 -05:00
Abdulaziz Ghuloum 6b40f525d9 * removed benchmarks/BUGS because it's out of date.
* fixed benchmarks/README
2007-11-05 02:01:51 -05:00
Abdulaziz Ghuloum 0287c37a00 * updated benchmarks/README since quicksort now works. 2007-11-05 01:57:18 -05:00
Abdulaziz Ghuloum b27bb61802 * Fixed some parts of bug 160101: modulo produces "BUG: unsupported"
* Modulo still fails on two bignum arguments, will fix later.
2007-11-04 23:01:41 -05:00
Abdulaziz Ghuloum c4424f8de4 * Added info about "BUGS" in benchmarks/README. 2007-11-04 17:12:14 -05:00
Abdulaziz Ghuloum a1aa10fca9 * Fixed bugs in slatex and quicksort benchmarks (library implementation)
* compiler benchmark now works (taking 10 seconds to compile on this
  machine).
2007-11-04 17:00:11 -05:00
Abdulaziz Ghuloum 8a45a5fe08 * Added real-part and imag-part stubs.
* string->number now supports a second radix argument, but the
     argument can only be 10.
2007-11-04 16:28:16 -05:00
Abdulaziz Ghuloum 6faba94b11 * Unhandled exceptions are now sent to (standard-error-port) instead
of (console-output-port).
2007-11-04 14:53:36 -05:00
Abdulaziz Ghuloum 8be77bcd21 * Added README describing the directory contents and how to run
benchmarks under Ikarus.
2007-11-04 14:07:58 -05:00
Abdulaziz Ghuloum b3143eec0d * Fixed a bug in expander causing #(x* ...) patterns inside syntax
to not expand properly.
2007-11-04 14:01:44 -05:00
Abdulaziz Ghuloum a12781ef2f * better error message for unimplemented primitives 2007-11-04 12:25:01 -05:00
Abdulaziz Ghuloum ab282428fe * Fixed benchmarks to work on (rnrs) libraries instead of the old
(r6rs) libraries.
2007-11-04 12:03:32 -05:00
Abdulaziz Ghuloum 6348eb9918 * unsupported primitives now show the url for submitting bug reports:
unhandled exception:
 Condition components:
   1. &error
   2. &who: ikarus
   3. &message: "not supported yet, please submit an implementation request"
   4. &url: "https://bugs.launchpad.net/ikarus/"
   5. &irritants: (bitwise-and)
2007-11-04 12:01:43 -05:00
Abdulaziz Ghuloum 86bd3216f5 * port?, input-port?, and output-port? were missing from exports, fixed 2007-11-04 11:50:44 -05:00
Abdulaziz Ghuloum 0b98d4d014 * Added notes about FreeBSD and NetBSD.
* Fixed typesetting of ``Hello World'' in the index.
2007-11-04 10:35:47 -05:00
Abdulaziz Ghuloum 81f6439b3c Fixed bug 159865: Expt fails on floats and rationals. 2007-11-04 10:24:08 -05:00
Abdulaziz Ghuloum e4e9418dae * Updated documentation regarding "*interactive*" command-line. 2007-11-03 20:40:02 -04:00
Abdulaziz Ghuloum e7d66d95b4 * Fixes bug 159776: --r6rs-script changes behavior of (command-line)
(command-line) now returns ("*interactive*" a b c) when you run
  ikarus -- a b c
2007-11-03 20:12:31 -04:00
Abdulaziz Ghuloum 2c1e93f937 * Fixes bug 159774: typo in help. 2007-11-03 17:31:18 -04:00
Abdulaziz Ghuloum 37da0d75d4 * Fixes bug 159403: scripts choke when a definition follows an expression 2007-11-01 20:00:02 -04:00