Commit Graph

  • 759474fd85 * libraries are now expanded to a special library-letrec* form. Abdulaziz Ghuloum 2007-11-17 09:53:22 -0500
  • eef196c09d * Optimized the zero case in $flonum->exact. Abdulaziz Ghuloum 2007-11-17 09:12:49 -0500
  • 87d1cd5ad1 * reverted to previous broken version of ratnum->flonum. Abdulaziz Ghuloum 2007-11-17 02:13:44 -0500
  • 7e1c6001eb Fixes a bug in top-level set! that caused the following to signal an error: Abdulaziz Ghuloum 2007-11-17 01:16:24 -0500
  • 97672d5990 * Added an "exec" to the generated scheme-script. Abdulaziz Ghuloum 2007-11-15 13:57:03 -0500
  • 3a3bc7dcc1 * keyboard interrupts are now continuable. Abdulaziz Ghuloum 2007-11-15 13:40:36 -0500
  • 55254257fb * generalized the fl+, fl-, fl*, and fl/ primops to multiple arguments. Abdulaziz Ghuloum 2007-11-15 08:05:17 -0500
  • 7def83f487 * Added fxbit-field. Abdulaziz Ghuloum 2007-11-15 07:14:47 -0500
  • ab6c871d76 * Added fxcopy-bit-field. Abdulaziz Ghuloum 2007-11-15 07:03:04 -0500
  • d977720ae6 * Added fxcopy-bit. Abdulaziz Ghuloum 2007-11-15 06:47:51 -0500
  • edb0abd366 * Added fxbit-set? Abdulaziz Ghuloum 2007-11-15 06:40:50 -0500
  • 42866c21c3 * Added fxfirst-bit-set. Abdulaziz Ghuloum 2007-11-15 06:33:21 -0500
  • 745c3be26e Fixes bug 162834: Typo in error message. Abdulaziz Ghuloum 2007-11-15 05:51:24 -0500
  • d18a041840 * Fixed a bug in number->string for hex/oct/binary numbers. Abdulaziz Ghuloum 2007-11-14 23:18:49 -0500
  • 4c632e435b * changed implementation of $flonum->exact. Abdulaziz Ghuloum 2007-11-14 20:45:37 -0500
  • f3e412ae9c * Added an implementation of $flonum->integer which takes a flonum and returns the integer representation of it (if it's an integer flonum), or #f otherwise. Abdulaziz Ghuloum 2007-11-14 18:45:49 -0500
  • 25aa8d7072 Fixes bug 162741: hygiene breaks exported macros that introduce define-record-type Abdulaziz Ghuloum 2007-11-14 17:24:29 -0500
  • 6c1dbba3de * Fixed a problem in the expander that caused libraries that are expanded from the repl to dump all their bindings into the top level as well. Abdulaziz Ghuloum 2007-11-14 13:54:54 -0500
  • 79c31416cf * Added $flonum-sbe primop for extracting the signed-biased-exponent of a flonum. Abdulaziz Ghuloum 2007-11-14 12:39:23 -0500
  • 82eda09ea0 * Added fxlength Abdulaziz Ghuloum 2007-11-13 23:24:21 -0500
  • e06b84e75d * Added (xorl imm8 mem) instruction to the assembler. Abdulaziz Ghuloum 2007-11-13 23:10:49 -0500
  • de635ef3bd * Added fxbit-count. Abdulaziz Ghuloum 2007-11-13 22:33:37 -0500
  • a3f1feefb9 * Added bitwise-bit-count Abdulaziz Ghuloum 2007-11-13 22:17:02 -0500
  • a0ba3d3d4f Fixes bug 162436: Off-by-one in substring Abdulaziz Ghuloum 2007-11-13 12:21:27 -0500
  • 820d1716be * open-coded $flround. Abdulaziz Ghuloum 2007-11-13 03:41:54 -0500
  • 47f7016b18 * changed implemenation of flround. Abdulaziz Ghuloum 2007-11-13 03:10:39 -0500
  • 3feb49e10c * [Partially] Fixes bug 162334: exact->inexact is broken for 5e-324 Abdulaziz Ghuloum 2007-11-13 03:00:57 -0500
  • ef6b9c0bae * Comitted half-fix to exact->inexact regarding bug 162334. - some of the generic arithmetic operations are still broken due to rounding errors. Abdulaziz Ghuloum 2007-11-13 00:45:04 -0500
  • 4b7f03df1a * Added bitwise-first-bit-set. Abdulaziz Ghuloum 2007-11-13 00:10:10 -0500
  • 99d15d2705 Fixes bug 162247: +NaN.0 and -INF.0 are not read properly Abdulaziz Ghuloum 2007-11-12 14:12:01 -0500
  • 93868c0731 * Fixed spelling of "auxiliary" in an error message. Abdulaziz Ghuloum 2007-11-12 11:37:11 -0500
  • a11cd5be48 * Added an internal library to makefile.ss just to make sure I use the feature daily. Abdulaziz Ghuloum 2007-11-12 05:05:27 -0500
  • c26ef04965 * multiple imports of the same binding into the same context now work. Abdulaziz Ghuloum 2007-11-12 05:01:25 -0500
  • 880a6f8efd (ikarus)'s "import" keyword now handles libraries, allowing libraries to be imported into any definition context including the top-level, body of a script, body of a library, or body of a function. Abdulaziz Ghuloum 2007-11-12 04:40:48 -0500
  • eaeb6a4876 Fixed bug 162153: Bytevectors should be self evaluating. Abdulaziz Ghuloum 2007-11-12 03:34:48 -0500
  • 43eb1bfcb3 Fixes bug 162145: Changing pkglibdir should rebuild ikarus-main.o and relink ikarus Abdulaziz Ghuloum 2007-11-12 03:31:14 -0500
  • 31a9210f8a Fixes bug 162143: add 'clean' target for src/scheme-script Abdulaziz Ghuloum 2007-11-12 02:30:39 -0500
  • a70899f811 * Fixes bug 162142: Makefile and config.h should not be in repo Abdulaziz Ghuloum 2007-11-12 02:19:26 -0500
  • da22924c65 * Documented the ~b, ~o, ~d, and ~x format strings to the user's guide Abdulaziz Ghuloum 2007-11-12 02:14:56 -0500
  • 6e7e0410fb * (ikarus) now exports the "library" keyword, allowing (library ---) forms to appear anywhere definitions can appear including the top-level, body of a script, body of a library, or body of a function. Abdulaziz Ghuloum 2007-11-12 01:27:47 -0500
  • de369b3497 * Copying an already immutable hashtable, and requesting an immutable table returns the same table without copying. Abdulaziz Ghuloum 2007-11-12 00:52:43 -0500
  • 007f05989b * Added hashtable-copy Abdulaziz Ghuloum 2007-11-12 00:50:00 -0500
  • 66263b2d69 * Fixes bug 160100: ikarus.boot should not be in /usr/local/bin ikarus.boot now goes to $pkglibdir/ikarus.boot which translates to /usr/local/lib/ikarus/ikarus.boot by default. Abdulaziz Ghuloum 2007-11-12 00:27:36 -0500
  • b7cd4df31a * Added ~b, ~x, ~d, and ~o to format/printf/fprintf. Abdulaziz Ghuloum 2007-11-12 00:20:02 -0500
  • 0bda5990ec * Added bytevector-u64-native-ref, bytevector-u64-native-set!, bytevector-s64-native-ref, bytevector-s64-native-set!, bytevector-u64-ref, bytevector-u64-set!, bytevector-s64-ref, and bytevector-s64-set!. Abdulaziz Ghuloum 2007-11-11 23:29:54 -0500
  • 9c8bf4f5c7 * Added fxdiv0, fxmod0, and fxdiv0-and-mod0 Abdulaziz Ghuloum 2007-11-11 21:52:27 -0500
  • e48c2e17c1 * Added fxdiv, fxmod, fxdiv-and-mod. Abdulaziz Ghuloum 2007-11-11 20:43:59 -0500
  • 0d2e1f4246 * Added fldiv0, flmod0, and fldiv0-and-mod0, completing the (rnrs arithmetic flonums) library. Abdulaziz Ghuloum 2007-11-11 20:04:09 -0500
  • 05fef19307 * Added fldiv, flmod, and fldiv-and-mod Abdulaziz Ghuloum 2007-11-11 16:48:03 -0500
  • 564908d55d * Added a word-frequency benchmark. Abdulaziz Ghuloum 2007-11-11 02:10:02 -0500
  • b53f3e6ff0 * Added hashtable-entries. Abdulaziz Ghuloum 2007-11-11 01:19:18 -0500
  • d8183bf27a * Added real->flonum Abdulaziz Ghuloum 2007-11-11 01:13:09 -0500
  • efa2f0ef43 * '#!eof no longer signals an assembler error - bug reported by micheal adams in person. Abdulaziz Ghuloum 2007-11-11 01:04:07 -0500
  • 5d0f86377e * Fixes bug 161923: Segfault on float ops (I was trying to be too clever with optimizing the checks.) Abdulaziz Ghuloum 2007-11-11 00:09:00 -0500
  • 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). Abdulaziz Ghuloum 2007-11-10 23:50:54 -0500
  • 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. Abdulaziz Ghuloum 2007-11-10 08:28:19 -0500
  • 6938657fad * Fixed bug 161749: (define-syntax (foo x) 12) does not work Abdulaziz Ghuloum 2007-11-10 06:28:29 -0500
  • 2a8cc2a7b4 * Added bytevector-ieee-single-ref and bytevector-ieee-single-set! Abdulaziz Ghuloum 2007-11-08 22:56:14 -0500
  • 5ce6ca4efb * Added bytevector-ieee-single-native-ref and bytevector-ieee-single-native-set! Abdulaziz Ghuloum 2007-11-08 22:22:24 -0500
  • 62c0643c19 * Added bitwise-not. Abdulaziz Ghuloum 2007-11-08 20:57:11 -0500
  • 6e6c9c9c1b * Added bitwise-and Abdulaziz Ghuloum 2007-11-08 19:18:37 -0500
  • 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. Abdulaziz Ghuloum 2007-11-08 13:16:26 -0500
  • 82c3e568c7 * Fixed bug 160972: fltruncate throws "not a procedure" Abdulaziz Ghuloum 2007-11-08 12:15:28 -0500
  • 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 Abdulaziz Ghuloum 2007-11-08 12:07:48 -0500
  • 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. Abdulaziz Ghuloum 2007-11-07 22:28:42 -0500
  • 75705649e2 * fixnum->string now takes an extra radix (in 2 8 10 16) argument. Abdulaziz Ghuloum 2007-11-07 20:02:32 -0500
  • ca25f972fc * Added missing automake/autoconf files. Abdulaziz Ghuloum 2007-11-07 18:04:59 -0500
  • 800eb3b732 * Fixing bug 159235: undefined GMP symbols - I don't know if this is the best solution, but it seems like a working hack. Abdulaziz Ghuloum 2007-11-07 13:05:31 -0500
  • dd5896761f * minor cleanup in reader (and minor bug fixes). Abdulaziz Ghuloum 2007-11-07 11:41:28 -0500
  • da16a5ef7a * reader now recognizes all standard character names: #\nul #\alaram #\backspace ... #\delete Abdulaziz Ghuloum 2007-11-07 11:24:18 -0500
  • e75bd7e33c * Added get-line. (answers to bug 160663) Abdulaziz Ghuloum 2007-11-07 11:00:39 -0500
  • 1b103a4ab8 * bytevector-ieee-double-ref/set! now work Abdulaziz Ghuloum 2007-11-07 04:54:54 -0500
  • 7dbce6e888 * Added bytevector-ieee-double-ref and bytevector-ieee-double-set! (which does not yet support big endianness) Abdulaziz Ghuloum 2007-11-07 01:26:38 -0500
  • bcd96a8dd4 * Added bytevector-ieee-double-native-ref/set! Abdulaziz Ghuloum 2007-11-06 21:08:52 -0500
  • 7783cef318 * Fixed typo in "incorrect number of arguments" (added "s"). Abdulaziz Ghuloum 2007-11-06 17:29:25 -0500
  • 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! Abdulaziz Ghuloum 2007-11-06 17:04:27 -0500
  • 217dff5d3e * Added pretty formats for library and import forms, fixed pretty format of define. Abdulaziz Ghuloum 2007-11-06 03:04:32 -0500
  • 9632e19032 Fixes bug 160395: missing import from r6r script reports bogus error. Abdulaziz Ghuloum 2007-11-06 01:14:27 -0500
  • 8cabfa75a7 * timelog updated to show results of latest addition to compiler. Abdulaziz Ghuloum 2007-11-05 23:09:08 -0500
  • 753838aeec * Fixed benchmarking tools. Abdulaziz Ghuloum 2007-11-05 22:49:38 -0500
  • 24e142bc49 * Added benchmarks/summarize.pl to summarize benchmark results. Abdulaziz Ghuloum 2007-11-05 17:21:53 -0500
  • 2246a2b901 * Added benchmark logging Makefile in benchmarks/ and two log files. Abdulaziz Ghuloum 2007-11-05 16:56:44 -0500
  • 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) Abdulaziz Ghuloum 2007-11-05 16:23:13 -0500
  • 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. Abdulaziz Ghuloum 2007-11-05 15:30:42 -0500
  • 90a243ee63 * Fixed bug 160101: modulo produces "BUG: unsupported" Abdulaziz Ghuloum 2007-11-05 02:24:39 -0500
  • 6b40f525d9 * removed benchmarks/BUGS because it's out of date. * fixed benchmarks/README Abdulaziz Ghuloum 2007-11-05 02:01:51 -0500
  • 0287c37a00 * updated benchmarks/README since quicksort now works. Abdulaziz Ghuloum 2007-11-05 01:57:18 -0500
  • b27bb61802 * Fixed some parts of bug 160101: modulo produces "BUG: unsupported" * Modulo still fails on two bignum arguments, will fix later. Abdulaziz Ghuloum 2007-11-04 23:01:41 -0500
  • c4424f8de4 * Added info about "BUGS" in benchmarks/README. Abdulaziz Ghuloum 2007-11-04 17:12:14 -0500
  • a1aa10fca9 * Fixed bugs in slatex and quicksort benchmarks (library implementation) * compiler benchmark now works (taking 10 seconds to compile on this machine). Abdulaziz Ghuloum 2007-11-04 17:00:11 -0500
  • 8a45a5fe08 * Added real-part and imag-part stubs. * string->number now supports a second radix argument, but the argument can only be 10. Abdulaziz Ghuloum 2007-11-04 16:28:16 -0500
  • 6faba94b11 * Unhandled exceptions are now sent to (standard-error-port) instead of (console-output-port). Abdulaziz Ghuloum 2007-11-04 14:53:36 -0500
  • 8be77bcd21 * Added README describing the directory contents and how to run benchmarks under Ikarus. Abdulaziz Ghuloum 2007-11-04 14:07:58 -0500
  • b3143eec0d * Fixed a bug in expander causing #(x* ...) patterns inside syntax to not expand properly. Abdulaziz Ghuloum 2007-11-04 14:01:44 -0500
  • a12781ef2f * better error message for unimplemented primitives Abdulaziz Ghuloum 2007-11-04 12:25:01 -0500
  • ab282428fe * Fixed benchmarks to work on (rnrs) libraries instead of the old (r6rs) libraries. Abdulaziz Ghuloum 2007-11-04 12:03:32 -0500
  • 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) Abdulaziz Ghuloum 2007-11-04 12:01:43 -0500
  • 86bd3216f5 * port?, input-port?, and output-port? were missing from exports, fixed Abdulaziz Ghuloum 2007-11-04 11:50:44 -0500
  • 0b98d4d014 * Added notes about FreeBSD and NetBSD. * Fixed typesetting of ``Hello World'' in the index. Abdulaziz Ghuloum 2007-11-04 10:35:47 -0500
  • 81f6439b3c Fixed bug 159865: Expt fails on floats and rationals. Abdulaziz Ghuloum 2007-11-04 10:24:08 -0500