Commit Graph

802 Commits

Author SHA1 Message Date
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 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 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 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 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 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 81f6439b3c Fixed bug 159865: Expt fails on floats and rationals. 2007-11-04 10:24:08 -05: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 37da0d75d4 * Fixes bug 159403: scripts choke when a definition follows an expression 2007-11-01 20:00:02 -04:00
Abdulaziz Ghuloum 431f768ab5 * configure.ac now contains a case for adding -Wl,-E to LDFLAGS
on *bsd* systems.
* ikarus.writer prints symbols that start with a digit properly.
2007-11-01 00:46:04 -04:00
Abdulaziz Ghuloum 186639d091 * "/" was producing "BUG:" report when given non-numebrs.
It now produced a better error message.
2007-10-31 21:01:39 -04:00
Abdulaziz Ghuloum b8434045f7 * pretty-width is now exported.
* generate-temporaries uses the names of identifiers to construct
  new names.
2007-10-31 04:34:14 -04:00
Abdulaziz Ghuloum 8b6f52f72e * Fixed a bug in #{gensym} read syntax. 2007-10-30 17:45:08 -04:00
Abdulaziz Ghuloum b79c21132b * Fixed bug in record constructor when proto is unspecified. 2007-10-29 16:18:11 -04:00
Abdulaziz Ghuloum 988c13e123 * Added define-enumeration, which completes the (rnrs enums) library. 2007-10-27 11:40:40 -04:00
Abdulaziz Ghuloum 79a38bc54b * fixed implementation of guard-macro in psyntax.expander. 2007-10-27 11:15:10 -04:00
Abdulaziz Ghuloum b7d871af9e * Added (rnrs enums). 2007-10-27 10:38:54 -04:00
Abdulaziz Ghuloum 1d482d9c9e * Added assertion-violation. 2007-10-26 15:27:42 -04:00
Abdulaziz Ghuloum 4522d66cfc * Version and sub-version specs are now honored in library import forms. 2007-10-26 12:41:55 -04:00
Abdulaziz Ghuloum 75a95bc189 * standard libraries now have version (6).
* #<library> now prints versions in proper form.
2007-10-26 01:22:11 -04:00
Abdulaziz Ghuloum 959b682588 * libraries now can have a version as part of their names
* import forms still don't understand version names.
2007-10-26 00:55:00 -04:00
Abdulaziz Ghuloum 6f576dc224 * Added license stubs to all *.ss and *.[ch] files. 2007-10-25 16:27:34 -04:00
Abdulaziz Ghuloum b640d98cbc * removed formatted errors from all source codes. 2007-10-25 14:32:26 -04:00
Abdulaziz Ghuloum 4141d699c5 * Fixed a bug that caused record-predicates to segfault.
* Added condition printers.
2007-10-25 02:19:53 -04:00
Abdulaziz Ghuloum dab2b74189 * Added print-condition procedure which now prints an ugly message. 2007-10-24 00:24:38 -04:00
Abdulaziz Ghuloum 6853d2f750 * error now calls raise after constructing a proper condition object.
* old "error-handler" parameter is gone.
* new-cafe now uses with-exception-handler to trap errors.
2007-10-23 23:55:57 -04:00
Abdulaziz Ghuloum 5678066f0d * Added with-exception-handler, raise, and raise-continuable. 2007-10-23 23:34:11 -04:00
Abdulaziz Ghuloum 239141717f * Added define-condition-type macro. 2007-10-23 17:53:43 -04:00
Abdulaziz Ghuloum 2684b53323 * added no-nans and no-infinities condition types. 2007-10-23 17:40:04 -04:00
Abdulaziz Ghuloum da29123fc0 * standard condition types are not exported. 2007-10-23 17:24:55 -04:00
Abdulaziz Ghuloum 56d279297b * fixed bugs in define-record-type (constructor name was ignored)
* fixed bugs in record-constructor (incorrect constructor was
  returned when when no protocol is supplied) 
* added r6rs condition types (constructors and standard conditions).
2007-10-23 16:38:34 -04:00
Abdulaziz Ghuloum 658e441d6c * Fixed implementation of record-constructor in (rnrs records procedural) 2007-10-23 00:28:21 -04:00
Abdulaziz Ghuloum 63ddb1b479 * fixed make file in Makefile.am 2007-10-18 11:55:45 -04:00
Abdulaziz Ghuloum 30a0a9458b * fixed a problem with building ikarus.boot on cygwin.
* fixed a couple of typos in ikarus-runtime.c and ikarus-winmmap.c
2007-10-18 11:48:11 -04:00
Abdulaziz Ghuloum e010d03523 renamed:
scheme/ikarus.boot => scheme/ikarus.boot.orig
modified:
  configure
  configure.ac
  scheme/Makefile.am
2007-10-18 00:45:46 -04:00
Abdulaziz Ghuloum 683fb50242 * autoconf now properly exports .ss files. 2007-10-17 22:50:15 -04:00
Abdulaziz Ghuloum 99dd633f83 added:
scheme/Makefile.am
2007-10-17 22:07:54 -04:00
Abdulaziz Ghuloum fdb664b61c renamed:
src/scheme => scheme
2007-10-17 20:07:10 -04:00