Commit Graph

932 Commits

Author SHA1 Message Date
Abdulaziz Ghuloum d062baee17 * Added an R6RS todo list
* fixed some problems (and introduced others) in the reader.
2007-05-20 22:16:57 -04:00
Abdulaziz Ghuloum aa98df6c4c moving to a new numeric reading algorithm.
added:
  src/tests/reader.ss
2007-05-20 13:11:33 -04:00
Abdulaziz Ghuloum 3c520ea9d3 minor change to concat in output-strings. 2007-05-20 00:57:28 -04:00
Abdulaziz Ghuloum 7b8b50a6aa * fixed incorrect handling of unicode chars in output string ports. 2007-05-19 22:36:52 -04:00
Abdulaziz Ghuloum a1879ccc57 * Added a unicode directory containing files from unicode.org
as well as extractors for the data.
2007-05-19 22:09:30 -04:00
Abdulaziz Ghuloum caa5eed9a0 * Writer and pretty-printer now print things more like what r6rs
requires as far as symbols and strings are concerned.
2007-05-19 17:28:03 -04:00
Abdulaziz Ghuloum f33fce8b04 * write now writes characters (including unicode chars) properly. 2007-05-19 15:18:08 -04:00
Abdulaziz Ghuloum 1abce54167 * string transition completed. string data is now 32-bit
tagged characters.
2007-05-19 14:38:45 -04:00
Abdulaziz Ghuloum 182de12428 * cleaned up some uses of naked strings in the runtime system. 2007-05-19 14:13:51 -04:00
Abdulaziz Ghuloum 267da9e77c * Writing strings to fasl files now uses 4-byte words for each
character.
2007-05-19 13:54:13 -04:00
Abdulaziz Ghuloum 1c4d3c4b40 * uuid now uses a bytevector for ffi. 2007-05-18 22:31:00 -04:00
Abdulaziz Ghuloum 027d50e84a * marked env and environ procedures busted. 2007-05-18 22:26:22 -04:00
Abdulaziz Ghuloum e499eb0f5a * delete-file now uses bytevectors for filename rep. 2007-05-18 22:21:36 -04:00
Abdulaziz Ghuloum cc500489b7 * file-exists? now uses bytevectors for filenames. 2007-05-18 22:18:51 -04:00
Abdulaziz Ghuloum b54cc9a762 * system now passes a bytevector to ik_system. 2007-05-18 22:15:52 -04:00
Abdulaziz Ghuloum 862871a787 * bignum->string now uses bytevectors as intermediate rep. 2007-05-18 22:08:45 -04:00
Abdulaziz Ghuloum 691a42fe4e * string->flonum now uses bytevectors as intermediate rep. 2007-05-18 22:01:04 -04:00
Abdulaziz Ghuloum 7ca0ddfa81 * flonum->string now uses a bytevector as the intermediate buffer. 2007-05-18 21:52:04 -04:00
Abdulaziz Ghuloum 179063c117 * open-output-file now uses a bytevector instead of a string to
represent the filename during ffi.
2007-05-18 21:06:25 -04:00
Abdulaziz Ghuloum 1586986dbe * open-input-file now uses a bytevector representing the filename
during ffi.
2007-05-18 21:03:14 -04:00
Abdulaziz Ghuloum 498084a6e8 * date-string now uses bytevectors instead of strings during ffi. 2007-05-18 20:59:10 -04:00
Abdulaziz Ghuloum 85944a2cff * Added utf8-bytevector->string decoder 2007-05-18 20:18:55 -04:00
Abdulaziz Ghuloum 10f5e53338 * foreign procedures are now represented as bytevectors instead of
strings.
2007-05-18 18:55:20 -04:00
Abdulaziz Ghuloum dfe8e0e1c1 * ikarus-fasl.c now recognizes the "v" marker for bytevectors 2007-05-18 18:16:52 -04:00
Abdulaziz Ghuloum 5c24a02d73 * fasl writer can now write bytevectors using tag "v". 2007-05-18 18:12:48 -04:00
Abdulaziz Ghuloum 9a89717c2d * Implemented string->utf8-bytevector
added:
  src/ikarus.transcoders.ss
2007-05-18 18:02:49 -04:00
Abdulaziz Ghuloum 08176e3b91 * Output string ports now use bytevectors for their internal buffer. 2007-05-18 16:15:40 -04:00
Abdulaziz Ghuloum 3f220faf13 * output files now use bytevectors as their internal buffer. 2007-05-18 16:07:58 -04:00
Abdulaziz Ghuloum 7e9e43bec1 * output strings now use their own internal buffers 2007-05-18 15:47:06 -04:00
Abdulaziz Ghuloum ceecfd9251 * implemented write-byte 2007-05-18 08:22:04 -04:00
Abdulaziz Ghuloum 9032492bf3 * Added write-byte to ikarus.io-primitives 2007-05-18 08:19:03 -04:00
Abdulaziz Ghuloum 35fa003558 * Added $write-byte to ikarus.io-primitives.unsafe.ss 2007-05-18 08:15:51 -04:00
Abdulaziz Ghuloum bc41665bf3 * removed junk from input-files handlers. 2007-05-17 06:46:47 -04:00
Abdulaziz Ghuloum 52a28f8332 * input ports now use bytevectors fully. 2007-05-17 06:44:51 -04:00
Abdulaziz Ghuloum 3148d7f95c * input ports now have a bytevector as buffer 2007-05-17 06:27:59 -04:00
Abdulaziz Ghuloum efd2734075 * input strings now do not use the internal port buffer 2007-05-17 05:50:01 -04:00
Abdulaziz Ghuloum 49dc13d5ee * make string operations safe in all io layers. 2007-05-17 05:41:00 -04:00
Abdulaziz Ghuloum 5249a8ec31 * The gc now knows about bytevectors 2007-05-17 04:34:52 -04:00
Abdulaziz Ghuloum 913bd590b6 * Added uint-list->bytevector and sint-list->bytevector. 2007-05-17 03:36:28 -04:00
Abdulaziz Ghuloum d62c01dfa7 * bytevector-sint-set! is completed. 2007-05-17 03:03:10 -04:00
Abdulaziz Ghuloum 8f885aa848 * bytevector-sint-set! is almost ok. 2007-05-16 11:05:06 -04:00
Abdulaziz Ghuloum e3bb91ad08 * Added a $bignums library that's now just holding the names of
primitive bignum functions.
2007-05-16 06:02:34 -04:00
Abdulaziz Ghuloum 2ee587d26d * Added #vu8(bytes ...) for the reader and writer. 2007-05-15 23:57:35 -04:00
Abdulaziz Ghuloum 14066b3ec9 * added a check for non-negative integer for bytevector-uint-set!. 2007-05-15 23:24:07 -04:00
Abdulaziz Ghuloum 9488a0706f * Added bytevector-uint-set! 2007-05-15 20:19:24 -04:00
Abdulaziz Ghuloum 4062b00c29 * Added bytevector-uint-ref, bytevector-sint-ref, bytevector->uint-list,
and bytevector->sint-list
2007-05-15 19:27:36 -04:00
Abdulaziz Ghuloum 3629e0b0d9 * Added bytevector=? 2007-05-15 14:37:04 -04:00
Abdulaziz Ghuloum 1e364d3186 * Added bytevector-copy and bytevector-fill! 2007-05-15 14:33:50 -04:00
Abdulaziz Ghuloum f630177d17 * Added bytevector->u8-list, u8-list->bytevector, and
bytevector-copy!.
2007-05-15 14:27:31 -04:00
Abdulaziz Ghuloum a809afd0fb * added bytevector-s8-set! and bytevector-u8-set!. 2007-05-15 13:50:00 -04:00
Abdulaziz Ghuloum a11fb060f2 * Added bytevector-u8-ref and bytevector-s8-ref. 2007-05-15 13:38:38 -04:00
Abdulaziz Ghuloum db80ba43f6 * Added bytevector-length 2007-05-15 13:17:17 -04:00
Abdulaziz Ghuloum 49d254c89e * Added make-bytevector and bytevector? 2007-05-15 12:42:52 -04:00
Abdulaziz Ghuloum 9d3e23fb6d * added an (ikarus system $bytevectors) library 2007-05-15 12:29:47 -04:00
Abdulaziz Ghuloum 97f59ad1ee * transition of symbols to secondary type done. 2007-05-15 11:37:43 -04:00
Abdulaziz Ghuloum 9ded62b5e5 * can now load fresh compiler 2007-05-15 10:45:31 -04:00
Abdulaziz Ghuloum 2b96460a77 * added find-library-by-name 2007-05-15 10:23:40 -04:00
Abdulaziz Ghuloum 026f786bf9 * added current-library-collection and library-name to
ikarus.system.$bootstrap
2007-05-15 10:18:58 -04:00
Abdulaziz Ghuloum 6bdb50004a * incremental step towards loading a fresh compiler for
bootstrapping.
2007-05-15 08:56:22 -04:00
Abdulaziz Ghuloum 18777b192d * Fixed a bug that caused interrupts to write the contents of the
output buffer twice.
2007-05-14 18:16:00 -04:00
Abdulaziz Ghuloum 12120c6cbc * new rev. 2007-05-14 14:58:33 -04:00
Abdulaziz Ghuloum e831d54afe * Added a comment file about r6rs records. 2007-05-14 14:53:29 -04:00
Abdulaziz Ghuloum 3656be2631 * Added open-input-string. 2007-05-11 23:39:22 -04:00
Abdulaziz Ghuloum c85495a4f2 * added positive? 2007-05-11 23:14:23 -04:00
Abdulaziz Ghuloum 1feea6c243 * better error message for referencing pattern variables outside a
syntax form
2007-05-11 22:54:18 -04:00
Abdulaziz Ghuloum 6fe22073dd * Added datum->syntax and syntax->datum 2007-05-11 22:50:02 -04:00
Abdulaziz Ghuloum 6e1c1f847a * Added bound-identifier=? 2007-05-11 22:47:09 -04:00
Abdulaziz Ghuloum d7b72ae38a * added call-with-current-continuation. 2007-05-11 22:02:49 -04:00
Abdulaziz Ghuloum daadee442c * fixed bug in library-name->file-name which did not handle capital
letters properly.
2007-05-11 21:27:00 -04:00
Abdulaziz Ghuloum 29c43af1f4 * added environment, environment?, and eval as specified by r6rs. 2007-05-11 21:06:31 -04:00
Abdulaziz Ghuloum 008457c5f8 * top-level-value error now prints the names of the symbol using ~a
instead of ~s.
2007-05-11 20:45:15 -04:00
Abdulaziz Ghuloum 1932db8d65 * library manager now attempts to load imported libraries from file
according to some library-name->file-name mapping.
2007-05-11 20:32:48 -04:00
Abdulaziz Ghuloum 4ca7b2780e * top-level sorta works. 2007-05-10 03:59:20 -04:00
Abdulaziz Ghuloum 48f98c13c5 * added some support for the old interaction repl behavior. 2007-05-09 23:42:32 -04:00
Abdulaziz Ghuloum 4763b3e67e * reinstated (ikarus fasl read) 2007-05-09 19:37:24 -04:00
Abdulaziz Ghuloum e157388176 * added (r6rs syntax-case) library. 2007-05-09 12:54:57 -04:00
Abdulaziz Ghuloum 457ed6aa4b * removed uses of fx primitives from ikarus.syntax.ss 2007-05-09 11:26:26 -04:00
Abdulaziz Ghuloum fd91a5bafc * added a (ikarus symbols) library. 2007-05-09 11:17:54 -04:00
Abdulaziz Ghuloum f64b0ee310 * added a (chez modules) library that exports the module keyword. 2007-05-09 11:12:27 -04:00
Abdulaziz Ghuloum 48244ec85e * makefile.ss is turned into an r6rs-script. 2007-05-09 07:49:04 -04:00
Abdulaziz Ghuloum 35a9aa6d20 * r6rs top-level programs seem to work. 2007-05-09 07:47:40 -04:00
Abdulaziz Ghuloum 8c2b318648 * added a loader for top-level r6rs scripts. 2007-05-09 07:35:31 -04:00
Abdulaziz Ghuloum 7494c29bba * Added an argument "top?" to chi-body* which indicates whether
we're expanding a top-level program (and thus can generate
  temporaries for expressions) or not.
2007-05-09 06:42:37 -04:00
Abdulaziz Ghuloum e414b2daca * moved the position of the rib argument to chi-body* to the end
in (ikarus syntax).
2007-05-09 06:39:42 -04:00
Abdulaziz Ghuloum 3be2a9d9af * changed (ikarus syntax) to build letrec* instead of letrec for
internal and library definitions.
2007-05-09 06:33:44 -04:00
Abdulaziz Ghuloum 31b73fd46c * the decision criteria for complex primitives (in optimize-letrec)
has changed.  right now, any primitive call is treated as complex.
  further research into what primitive calls can be treated as
  simple is suspended until further notice.
2007-05-09 06:30:09 -04:00
Abdulaziz Ghuloum 509a375871 * makefile now inserts letrec* into (ikarus) and (r6rs). 2007-05-09 06:10:38 -04:00
Abdulaziz Ghuloum f5a980efd6 * (ikarus syntax) now recognized letrec* (untested). 2007-05-09 06:09:37 -04:00
Abdulaziz Ghuloum 5c2220f9bb * the compiler now recognizes letrec* (not tested yet). 2007-05-09 05:59:32 -04:00
Abdulaziz Ghuloum c8e60f84da * more cleanup in pairs.ss 2007-05-08 19:38:05 -04:00
Abdulaziz Ghuloum 0e1fcc18c3 * cleanup of pairs.ss 2007-05-08 19:19:50 -04:00
Abdulaziz Ghuloum 1948dd5942 * testing commit of bzr.16 2007-05-08 10:04:00 -04:00
Abdulaziz Ghuloum 18e6ac04fa * more cleanup again. 2007-05-08 06:58:19 -04:00
Abdulaziz Ghuloum c4d0277fb3 * more cleanup 2007-05-08 06:56:20 -04:00
Abdulaziz Ghuloum 741c261b7e * good cleanup of the syntax macro done. 2007-05-08 06:33:19 -04:00
Abdulaziz Ghuloum 88cbbaeb12 * major cleanup in the syntax-case macro. 2007-05-08 06:21:55 -04:00
Abdulaziz Ghuloum bae137b21d * reinstated some quasiquotes. 2007-05-08 06:06:45 -04:00
Abdulaziz Ghuloum e4f2b18f80 * stupid syntax-foo helpers are gone. 2007-05-08 06:03:11 -04:00
Abdulaziz Ghuloum 9a3d959142 * cleanup of syntax.ss 2007-05-08 05:48:53 -04:00
Abdulaziz Ghuloum c5915af00a * added a FIXME about (apply append ---) 2007-05-08 05:47:30 -04:00
Abdulaziz Ghuloum 0f5fbd6380 * made better use of the new guard ability of syntax-match 2007-05-08 05:31:04 -04:00
Abdulaziz Ghuloum 9bcfbf0664 * in syntax-match, _ now matches anything and does not bind a
variable.
2007-05-08 05:15:30 -04:00
Abdulaziz Ghuloum 1355665e55 * faster syntax-match implementation. 2007-05-08 05:10:37 -04:00
Abdulaziz Ghuloum 65dbda85fc * syntax-match now accepts a single code form only. 2007-05-08 03:48:42 -04:00
Abdulaziz Ghuloum 862a8b558c * better error messages for displaced lexicals. 2007-05-08 01:42:19 -04:00
Abdulaziz Ghuloum 2d8a4521cf * removed lhs* and kwd* from expander, now reinstating properly. 2007-05-08 00:45:22 -04:00
Abdulaziz Ghuloum fc418d1fb6 * chi-internal-module now uses chi-body* to process its body. 2007-05-07 23:41:36 -04:00
Abdulaziz Ghuloum bee9773072 * removed chi-internal-body 2007-05-07 23:25:28 -04:00
Abdulaziz Ghuloum 887552b49f added:
src/tests.libraries.ss
2007-05-07 22:30:27 -04:00
Abdulaziz Ghuloum 0bb5276177 * deleted find-exports from syntax.ss 2007-05-07 22:25:20 -04:00
Abdulaziz Ghuloum 2c4ddb0f67 * building export env seems to be ok. 2007-05-07 22:18:46 -04:00
Abdulaziz Ghuloum 151913a749 * visit-time requirements are tracked properly now. 2007-05-07 21:30:52 -04:00
Abdulaziz Ghuloum 795f87b499 * the expander now creates a visit-time-collector that's supposed to
collect the visit-time requirements.
2007-05-07 21:11:28 -04:00
Abdulaziz Ghuloum 6b39f738a0 * we can now import macros from other libraries. They are visited
before the macro is used.
2007-05-07 20:58:12 -04:00
Abdulaziz Ghuloum 57a269436a * now constructing visit code. 2007-05-07 20:32:36 -04:00
Abdulaziz Ghuloum 5f07f5f921 * changed sanitize-binding to add a local prefix to all introduced
keywords (like local-macro, local-macro!, and local-rtd)
2007-05-07 20:02:29 -04:00
Abdulaziz Ghuloum 32a1751025 * fixed a couple of typos in syntax.ss 2007-05-07 19:46:48 -04:00
Abdulaziz Ghuloum 036292f3fc * install-library now takes all 11 arguments! 2007-05-07 04:54:10 -04:00
Abdulaziz Ghuloum 8226619438 * install-library now takes an extra visibility flag.
* installed-libraries now takes an optional "all?" flag:
  - if all? is true, it returns all libraries.
  - if all? is false, it returns only the visible libraries
  - all? defaults to #t.
2007-05-07 04:52:22 -04:00
Abdulaziz Ghuloum 4c8029ab3e * now exporting installed-libraries. 2007-05-07 04:09:35 -04:00
Abdulaziz Ghuloum 37920f52af * now exporting set-rtd-printer! 2007-05-07 04:04:54 -04:00
Abdulaziz Ghuloum 3f4e5ee1a4 * current-library-collection removed. 2007-05-07 03:57:17 -04:00
Abdulaziz Ghuloum 1807ac38c9 * removed library-subst/env procedure. 2007-05-07 03:55:51 -04:00
Abdulaziz Ghuloum 97cd3dc461 * added an auxilary procedure library-exists? for the library
manager.
2007-05-07 03:45:13 -04:00
Abdulaziz Ghuloum 22b191334f * the expander now signals a proper error if it cannot find an
imported library.
2007-05-07 03:42:40 -04:00
Abdulaziz Ghuloum 9cdaa11a60 * all lexicals are now added through the procedure add-lexical in
(ikarus syntax).
2007-05-07 03:22:42 -04:00
Abdulaziz Ghuloum bb3dac193f * top-rib is now unsealed after we're done with it. 2007-05-07 02:48:23 -04:00
Abdulaziz Ghuloum 24f07a7d66 * swapped the message and the procedure for time-it. 2007-05-07 02:32:39 -04:00
Abdulaziz Ghuloum 4e5d1439e0 * Added timers to the makefile.ss 2007-05-07 02:29:34 -04:00
Abdulaziz Ghuloum 6723a30ef9 * completed self-organizing sealed ribs. 2007-05-07 02:17:39 -04:00
Abdulaziz Ghuloum de158ca4cd * added a sealed/freq field to the rib record. The idea is to
convert the rib data from lists to vectors once the rib is sealed
  (i.e. no more bindings will be added to it) and then sort it
  according to the frequency of references made to the individual
  bindings.
2007-05-07 00:44:28 -04:00
Abdulaziz Ghuloum c69f74fb05 * re-ordered the clauses in label->binding since imported stuff are
more likely to occur than locally defined stuff (is this true in
  general?)
2007-05-07 00:25:21 -04:00
Abdulaziz Ghuloum 90da5334bd * the global bindings are now a pair of <library,gensym-location>. 2007-05-06 23:42:10 -04:00
Abdulaziz Ghuloum 08a0bb0989 * the library manager now has a hash table mapping all labels to
their bindings.  This gives a 0.3 second speed up to the bootstrap
  process.
2007-05-06 23:32:51 -04:00
Abdulaziz Ghuloum 4c12889e10 * removed current-library-collection from list of primitives. 2007-05-06 23:12:34 -04:00
Abdulaziz Ghuloum 2eb451febe * removed some junk from ikarus.syntax 2007-05-06 23:11:30 -04:00
Abdulaziz Ghuloum 085a0c14ed * removed $code? from the compiler as well. 2007-05-06 22:50:28 -04:00
Abdulaziz Ghuloum 70008f2f7a * removed all references to $code? from the code. 2007-05-06 22:49:33 -04:00
Abdulaziz Ghuloum d58f15b14c * added code? to the compiler. 2007-05-06 22:48:10 -04:00
Abdulaziz Ghuloum 1703ff38f8 * (ikarus system unsafe) is gone.
* a new bootstrap library is added for three primitives.
2007-05-06 20:54:30 -04:00
Abdulaziz Ghuloum f46dac0612 * eval-core is no longer exported 2007-05-06 20:46:47 -04:00
Abdulaziz Ghuloum e638797f11 * eval-top-level is no longer exported to the top-level 2007-05-06 20:43:56 -04:00
Abdulaziz Ghuloum e3c58d4464 * moved load to ikarus.load.ss 2007-05-06 20:39:42 -04:00
Abdulaziz Ghuloum cbad0231d4 * ikarus.cafe now imports eval-top-level explicitly from
ikarus.syntax
2007-05-06 20:29:58 -04:00
Abdulaziz Ghuloum 7032f963e1 * void is moved to ikarus.singular-objects
* removed:
    src/ikarus.void.ss
2007-05-06 20:23:45 -04:00
Abdulaziz Ghuloum aa50cd2b12 renamed:
src/libtoplevel.ss => src/ikarus.main.ss
2007-05-06 20:20:13 -04:00
Abdulaziz Ghuloum 3b5fe561ea * removed the junkyard library since everything there is not needed
* by the user.
2007-05-06 20:18:36 -04:00
Abdulaziz Ghuloum a0c81d9ce7 * moved some prims to (ikarus system $interrupts) 2007-05-06 20:15:49 -04:00
Abdulaziz Ghuloum 6dc380029c * makefile and the compiler now signal an error if a primitive
is not associated with a location.
2007-05-06 20:12:25 -04:00
Abdulaziz Ghuloum a146056491 * removed (ikarus system) from the set of libraries. 2007-05-06 20:07:00 -04:00
Abdulaziz Ghuloum eb5770e079 * moved misc things to (ikarus system $junkyard) 2007-05-06 20:04:26 -04:00
Abdulaziz Ghuloum 207654f779 * scheme-env-junk is gone from makefile.ss 2007-05-06 20:01:18 -04:00
Abdulaziz Ghuloum cec70be7b8 * (scheme) is gone from the library manager. 2007-05-06 19:22:06 -04:00
Abdulaziz Ghuloum a41b08894d * (ikarus syntax) now uses (ikarus system $all) instead of (scheme)
to construct scheme-stx objects.
2007-05-06 19:20:52 -04:00
Abdulaziz Ghuloum 5a488fe96c * before removing (ikarus system). 2007-05-06 19:14:51 -04:00
Abdulaziz Ghuloum e35a87b57e * removed install-library from the prims 2007-05-06 18:58:54 -04:00
Abdulaziz Ghuloum d579b63f52 * cleanip of ikarus.trace, vectors, and writer.ss 2007-05-06 18:52:19 -04:00
Abdulaziz Ghuloum e3ddd4d0e6 * added the $unbound-object? prim to the (ikarus system $symbols)
library.
2007-05-06 18:43:04 -04:00
Abdulaziz Ghuloum 00075f13d0 * cleanup of input-files 2007-05-06 18:30:08 -04:00
Abdulaziz Ghuloum 190f360daf * cleanip of unsafe io primitives. 2007-05-06 18:28:21 -04:00
Abdulaziz Ghuloum ab49f9ee42 * cleanup of io-primitives.ss 2007-05-06 18:27:10 -04:00
Abdulaziz Ghuloum 79408d142d * cleanup of io-ports.ss 2007-05-06 18:25:53 -04:00
Abdulaziz Ghuloum e976ee649b * cleanip of intel-assembler.ss 2007-05-06 18:24:25 -04:00
Abdulaziz Ghuloum 81179a5e5d * cleanup of hash-tables.ss 2007-05-06 18:23:07 -04:00
Abdulaziz Ghuloum fcf401b076 * removed import of (scheme) from ikarus.handlers 2007-05-06 18:21:13 -04:00
Abdulaziz Ghuloum aebad6ece7 * added symbol-bound?, symbol-value, and set-symbol-value! to the
symbols library.
2007-05-06 18:18:53 -04:00
Abdulaziz Ghuloum 0d03979d60 * removed import of (scheme) from ikarus.fixnums.ss 2007-05-06 18:13:57 -04:00
Abdulaziz Ghuloum ec4b28c09b * removed import of (scheme) from ikarus.fasl.ss 2007-05-06 18:12:31 -04:00
Abdulaziz Ghuloum aa0d7341a2 * added a (ikarus system $stack) library and removed imports of
(scheme) from ikarus.control.ss
* moved $$apply to (ikarus system $stack).
2007-05-06 18:10:51 -04:00
Abdulaziz Ghuloum edc01b587b * removed import of (scheme) from ikarus.command-line.ss 2007-05-06 18:04:15 -04:00
Abdulaziz Ghuloum 08ba1ee1b9 * removed import of (scheme) from ikarus.collect.ss 2007-05-06 18:00:49 -04:00
Abdulaziz Ghuloum f8f4283886 * removed import of (scheme) from ikarus.code-objects.ss 2007-05-06 17:59:32 -04:00
Abdulaziz Ghuloum 891cde0e74 * removed import of (scheme) from ikarus.chars.ss 2007-05-06 17:58:34 -04:00
Abdulaziz Ghuloum adc4869540 * added (ikarus system $apply) and removed import of (scheme) in
ikarus.apply.ss
2007-05-06 17:57:31 -04:00
Abdulaziz Ghuloum 116b8c2227 * removed import of (scheme) in ikarus.compiler.ss 2007-05-06 17:55:04 -04:00
Abdulaziz Ghuloum fb63e58c6c * removed import (scheme) from ikarus.lists. 2007-05-06 17:47:36 -04:00
Abdulaziz Ghuloum 4afe70f770 removed some more imports of (scheme) 2007-05-06 17:41:59 -04:00
Abdulaziz Ghuloum 3764fcbdad * removed uses of (scheme) in libtoplevel and makefile 2007-05-06 17:02:49 -04:00
Abdulaziz Ghuloum 7173bcc61b * primitive-set! is gone. 2007-05-05 23:10:47 -04:00
Abdulaziz Ghuloum 931be7dda9 * ikarus.core.ss is gone. 2007-05-05 23:04:37 -04:00
Abdulaziz Ghuloum 77f87faeaa * moved date-string to ikarus.date-string.ss 2007-05-05 23:03:29 -04:00
Abdulaziz Ghuloum b3f5d5780a * moved eof-object to ikarus.singular-objects 2007-05-05 23:00:39 -04:00
Abdulaziz Ghuloum c0bf35338d * $base-rtd is gone. 2007-05-05 22:59:09 -04:00
Abdulaziz Ghuloum f5acd68e4d * ikarus.fasl no longer uses $base-rtd 2007-05-05 22:56:27 -04:00
Abdulaziz Ghuloum f06a1f302a * defined a (base-rtd) procedure that returns the base rtd.
* added:
   src/ikarus.singular-objects.ss
2007-05-05 22:54:53 -04:00
Abdulaziz Ghuloum 48e062dfc4 * base-rtd is now placed in the pcb.
* renamed:
    src/library-manager.ss => src/ikarus.library-manager.ss
2007-05-05 22:42:26 -04:00
Abdulaziz Ghuloum 57a20bdfb4 renamed:
src/libtimers.ss => src/ikarus.timer.ss
2007-05-05 22:15:40 -04:00
Abdulaziz Ghuloum 3315abba4b renamed:
src/libposix.ss => src/ikarus.posix.ss
2007-05-05 22:14:06 -04:00
Abdulaziz Ghuloum 2a1713ef81 renamed:
src/libcafe.ss => src/ikarus.cafe.ss
2007-05-05 22:09:41 -04:00
Abdulaziz Ghuloum 7931512241 renamed:
src/libpp.ss => src/ikarus.pretty-print.ss
2007-05-05 22:07:50 -04:00
Abdulaziz Ghuloum 20e7940059 * exported syntax-dispatch
* renamed:
   src/libsyntax.ss => src/ikarus.syntax.ss
2007-05-05 22:05:34 -04:00
Abdulaziz Ghuloum 4814f48573 * inserting primref checks temporarily 2007-05-05 21:59:31 -04:00
Abdulaziz Ghuloum 9745fedfe1 renamed:
src/libtrace.ss => src/ikarus.trace.ss
2007-05-05 21:28:22 -04:00
Abdulaziz Ghuloum f501df0778 renamed:
src/libfasl.ss => src/ikarus.fasl.ss
2007-05-05 21:24:43 -04:00
Abdulaziz Ghuloum facdfd959f renamed:
src/libcompile.ss => src/ikarus.compiler.ss
  src/libintelasm.ss => src/ikarus.intel-assembler.ss
2007-05-05 21:18:41 -04:00
Abdulaziz Ghuloum 68cb3e8d1a * removed list*->code* from the prims. 2007-05-05 20:59:44 -04:00
Abdulaziz Ghuloum ade7319c0c * fixed the name of the assembler to (ikarus assembler). 2007-05-05 20:58:10 -04:00
Abdulaziz Ghuloum ed88f403fc * (ikarus code-objects) is now ok. 2007-05-05 20:54:57 -04:00
Abdulaziz Ghuloum 0721283716 * (ikarus reader) is ok 2007-05-05 20:47:31 -04:00
Abdulaziz Ghuloum 7aa407b6cd * (ikarus writer) is now ok. 2007-05-05 20:40:23 -04:00
Abdulaziz Ghuloum b425bc58cb * ikarus.hash-tables is ok now. 2007-05-05 20:24:14 -04:00
Abdulaziz Ghuloum 0c31cbc8df * output-string ports moved to ikarus.io.output-strings 2007-05-05 20:05:33 -04:00
Abdulaziz Ghuloum 459a0500b7 * moved call-with-input-file and with-input-from-file to
ikarus.io.input-files
2007-05-05 19:59:28 -04:00
Abdulaziz Ghuloum e33b2a29e3 * removed reference to *current-input-port* in ikarus.io-primitives
and rewritten it as (current-input-port)
2007-05-05 19:55:53 -04:00
Abdulaziz Ghuloum 51170afb36 * output-file operations moved to ikarus.io.output-files 2007-05-05 19:53:16 -04:00
Abdulaziz Ghuloum 969dd01a76 * moved all input-file operations to ikarus.io.input-files.ss 2007-05-05 19:39:02 -04:00
Abdulaziz Ghuloum 30e73b1fc1 * added (ikarus io-primitives) exporting read-char unread-char peek-char
write-char newline port-name input-port-name output-port-name
  close-input-port reset-input-port! flush-output-port close-output-port
2007-05-05 18:42:57 -04:00
Abdulaziz Ghuloum cc5b8d1c08 * new (ikarus io-primitives unsafe) library exporting $write-char
$read-char $unread-char $peek-char $reset-input-port! 
  $flush-output-port $close-input-port $close-output-port
2007-05-05 18:32:56 -04:00
Abdulaziz Ghuloum 3d79b43612 * moved (ikarus io-ports) to ikarus.io-ports.ss 2007-05-05 18:04:38 -04:00
Abdulaziz Ghuloum 27f45ae065 * (ikarus io-ports) now exports make-input-port, make-output-port,
make-input/output-port port-handler port-input-buffer port-output-buffer
  port-input-index set-port-input-index! port-input-size set-port-input-size!
  port-output-index set-port-output-index! port-output-size set-port-output-size!
2007-05-05 18:03:28 -04:00
Abdulaziz Ghuloum 55f1a1282e * moved port?, input-port?, and output-port? to ikarus.predicates 2007-05-05 17:44:24 -04:00
Abdulaziz Ghuloum 8522098e96 * added ikarus.apply library that exports apply 2007-05-05 17:39:18 -04:00
Abdulaziz Ghuloum 79d5c23c9f * added void to ikarus.void 2007-05-05 17:36:51 -04:00
Abdulaziz Ghuloum 522afdf907 * added (ikarus command-line) library that exports command-line-arguments 2007-05-05 06:58:41 -04:00
Abdulaziz Ghuloum 86320acbdf * moved symbol->string to ikarus.symbols 2007-05-05 06:54:26 -04:00
Abdulaziz Ghuloum 4a0db4a117 * moved gensym->unique-string, gensym-prefix, gensym-count, and
print-gensym to (ikarus symbols)
2007-05-05 06:51:33 -04:00
Abdulaziz Ghuloum 52b3c67c06 * added (ikarus symbols) library containing:
gensym gensym? string->symbol getprop putprop remprop property-list
    top-level-value top-level-bound? set-top-level-value!
2007-05-05 06:47:21 -04:00
Abdulaziz Ghuloum f06b7a2d18 * moved integer->char and char->integer to ikarus.chars 2007-05-05 06:36:38 -04:00
Abdulaziz Ghuloum 3fb2afd604 * moved fixnum->string to ikarus.fixnums 2007-05-05 06:26:09 -04:00
Abdulaziz Ghuloum 38105f68fe * moved string->number to ikarus.numerics 2007-05-05 06:23:03 -04:00
Abdulaziz Ghuloum ed4267d1e4 * moved list* to ikarus.lists. 2007-05-05 06:19:50 -04:00
Abdulaziz Ghuloum 5150058773 * moved weak-cons to ikarus.pairs
* moved weak-pair? to ikarus.predicates
2007-05-05 06:18:29 -04:00
Abdulaziz Ghuloum 24ce3f42ca * moved bwp-object? to ikarus.predicates 2007-05-05 06:15:25 -04:00
Abdulaziz Ghuloum 3f5556cd28 * moved list and make-list to ikarus.lists 2007-05-05 06:12:47 -04:00
Abdulaziz Ghuloum 8188c51d20 * vector->list is moved to ikarus.vectors 2007-05-05 06:08:43 -04:00
Abdulaziz Ghuloum e9ca4ed971 * moved list->vector to ikarus.vectors 2007-05-05 06:06:26 -04:00
Abdulaziz Ghuloum d4d8da3b55 * append is moved to ikarus.lists 2007-05-05 06:04:36 -04:00
Abdulaziz Ghuloum f3472d2f71 * moved andmap and ormap to ikarus.lists 2007-05-05 06:02:02 -04:00
Abdulaziz Ghuloum a6faa9fb39 * moved map and for-each to ikarus.lists 2007-05-05 05:59:01 -04:00
Abdulaziz Ghuloum 0f567805fc * moved equal? to ikarus.predicates 2007-05-05 05:35:09 -04:00
Abdulaziz Ghuloum f49897fadf * moved assq, assv, and assoc to ikarus.lists 2007-05-05 05:31:30 -04:00
Abdulaziz Ghuloum 4a6f340ce2 * moved length and list-ref to ikarus.lists 2007-05-05 05:29:35 -04:00
Abdulaziz Ghuloum 6a381a70f8 * moved memq, memv, and member to ikarus.lists 2007-05-05 05:26:38 -04:00
Abdulaziz Ghuloum 4a24e5ed28 * moved list?, reverse, and last-pair to ikarus.lists 2007-05-05 05:24:37 -04:00
Abdulaziz Ghuloum 67561089ae * added (ikarus lists)
* moved $memq to (ikarus lists)
2007-05-05 05:22:15 -04:00
Abdulaziz Ghuloum 7f02ac9da7 * moved vector to ikarus.vectors 2007-05-05 05:19:31 -04:00
Abdulaziz Ghuloum d09192f506 * moved vector-ref and vector-set! to ikarus.vectors 2007-05-05 05:17:43 -04:00
Abdulaziz Ghuloum 71ca0c1e06 * moved set-car! and set-cdr! to ikarus.pairs 2007-05-05 05:15:53 -04:00
Abdulaziz Ghuloum fd5c6a1e47 * moved char-whitespace?, char-alphabetic?, and char-downcase to
ikarus.chars
2007-05-05 05:14:24 -04:00
Abdulaziz Ghuloum 01a161d409 * moved eqv? to ikarus.predicates 2007-05-05 05:10:38 -04:00
Abdulaziz Ghuloum bd8b9db6cc * moved eq? to ikarus.predicates 2007-05-05 05:09:15 -04:00
Abdulaziz Ghuloum fdd93d6000 * moved cons to ikarus.pairs 2007-05-05 05:07:49 -04:00
Abdulaziz Ghuloum 8a54b4513c * renamed cxr to pairs. 2007-05-05 05:06:32 -04:00
Abdulaziz Ghuloum 8fcc4e7d99 * added (ikarus chars) library
* moved char=?, char<?, char<=?, char>?, and char>=? to the chars
 library.
2007-05-05 04:45:13 -04:00
Abdulaziz Ghuloum ffeff47eb4 * moved fx=, fx<, fx<=, fx>, and fx>= to the fixnums library. 2007-05-05 04:39:25 -04:00
Abdulaziz Ghuloum ca660f5e75 * moved fxlogor, fxlogand, fxlogxor, fxsll, and fxsra to the fixnums
library
2007-05-05 04:36:52 -04:00
Abdulaziz Ghuloum 6995d57df0 * moved fxquotient, fxremainder, and fxmodulo to the fixnums library 2007-05-05 04:33:58 -04:00
Abdulaziz Ghuloum bdd87d66b5 * moved fx+, fx-, and fx* to ikarus.fixnums 2007-05-05 04:31:53 -04:00
Abdulaziz Ghuloum 4ada254c44 * moved "not" to ikarus.predicates
(rationale: (not x) == (false? x))
2007-05-05 04:28:40 -04:00
Abdulaziz Ghuloum 828df98fa8 * added an (ikarus vectors) library.
* moved make-vector to ikarus.vectors
2007-05-05 04:25:15 -04:00
Abdulaziz Ghuloum 17d8da7486 * moved fxlognot to ikarus.fixnums 2007-05-05 04:21:48 -04:00
Abdulaziz Ghuloum a334a2443b * moved (ikarus fixnums) to its own file ikarus.fixnums.ss 2007-05-05 04:20:42 -04:00
Abdulaziz Ghuloum 7e421bb907 * moved fxadd1 and fxsub1 to ikarus.fixnums 2007-05-05 04:19:18 -04:00
Abdulaziz Ghuloum 0399dc386e * moved uuid to ikarus.strings 2007-05-05 04:07:48 -04:00
Abdulaziz Ghuloum a6ef1cd110 * moved list->string to ikarus.strings 2007-05-05 04:06:23 -04:00
Abdulaziz Ghuloum bc4b74b895 * moved string to ikarus.strings 2007-05-05 04:04:58 -04:00
Abdulaziz Ghuloum 970613559c * moved substring to ikarus.strings 2007-05-05 04:02:27 -04:00
Abdulaziz Ghuloum 4145850d37 * moved string-append to ikarus.strings 2007-05-05 04:00:32 -04:00
Abdulaziz Ghuloum e1b397eea5 * moved string-set! to ikarus.strings 2007-05-05 03:58:40 -04:00
Abdulaziz Ghuloum 196cb04ebc * moved string=? to ikarus.strings 2007-05-05 03:57:14 -04:00
Abdulaziz Ghuloum 76738b4dd4 * moved string->list to ikarus.strings 2007-05-05 03:53:19 -04:00
Abdulaziz Ghuloum 03318e61d9 * moved string-length to ikarus.strings 2007-05-05 03:51:38 -04:00
Abdulaziz Ghuloum 0675feac5c * moved make-string to ikarus.strings 2007-05-05 03:49:51 -04:00
Abdulaziz Ghuloum 3dde7f6c1a * string-ref moved to ikarus.strings. 2007-05-05 03:46:26 -04:00
Abdulaziz Ghuloum b38d1f31ac * added more predicates to its library. 2007-05-05 03:34:59 -04:00
Abdulaziz Ghuloum 0eaf9be5a7 * moved eof-object? to the predicates library. 2007-05-05 03:27:53 -04:00
Abdulaziz Ghuloum 2931c3e769 * moving all tag predicates to their own library (ikarus predicates) 2007-05-05 03:24:33 -04:00
Abdulaziz Ghuloum 39dd690164 * fxzero? moved to ikarus.fixnums 2007-05-05 03:21:45 -04:00
Abdulaziz Ghuloum 8324dfadb4 * moved call-with-values and values to their own library
* moved exit to ikarus.control
2007-05-05 03:16:26 -04:00
Abdulaziz Ghuloum 897f6f3596 * ikarus.guardians.ss now exports its primitives. 2007-05-05 03:03:50 -04:00
Abdulaziz Ghuloum b4659ec599 * ikarus.numerics.ss now exports its identifiers. 2007-05-05 03:01:12 -04:00
Abdulaziz Ghuloum 6b327d7892 * (ikarus flonums) now exports its prims. 2007-05-05 02:34:37 -04:00
Abdulaziz Ghuloum 4c66daca01 * ikarus.cxr now exports the cxr prims. 2007-05-05 02:28:30 -04:00
Abdulaziz Ghuloum 0471c6b3fe * ikarus.records.ss now exports its prims. 2007-05-05 02:17:55 -04:00
Abdulaziz Ghuloum 7799fb3238 * libcollect is renamed ikarus.collect.ss
* ikarus.collect.ss exports its ids.
2007-05-05 02:07:50 -04:00
Abdulaziz Ghuloum 9a28870d31 * libcontrol is now a full library.
renamed:
  src/libcontrol.ss => src/ikarus.control.ss
2007-05-05 01:56:44 -04:00
Abdulaziz Ghuloum 28e5c26cee * moving on from (ikarus system handlers) 2007-05-04 11:59:03 -04:00
Abdulaziz Ghuloum 393ee8fbab * ikarus.handlers.ss is now complete 2007-05-04 11:38:39 -04:00
Abdulaziz Ghuloum a97798b598 * working through the handlers library 2007-05-04 11:25:04 -04:00
Abdulaziz Ghuloum 90ae8b65fb * (ikarus system parameters) is good to go 2007-05-04 11:16:42 -04:00
Abdulaziz Ghuloum 6d38530828 * import modifiers look good now. 2007-05-04 10:31:15 -04:00
Abdulaziz Ghuloum f9d0e76422 * added error stubs for the various import modifiers 2007-05-04 09:45:41 -04:00
Abdulaziz Ghuloum 19b1df212f renamed:
src/libhandlers.ss => src/ikarus.handlers.ss
2007-05-04 09:30:05 -04:00
Abdulaziz Ghuloum e58710865c * Added a printer to the library rtd. 2007-05-04 09:22:33 -04:00
Abdulaziz Ghuloum 2ec3a6da7c * makefile now constructs many initial libraries. 2007-05-04 09:13:14 -04:00
Abdulaziz Ghuloum d75f2ef04d * everything seems to work. Now working on exporting the primitives
directly and eliminating the primitive-set! calls.
2007-05-04 07:50:42 -04:00
Abdulaziz Ghuloum af69d9b3b1 * makefile now uses the export-locs for compiling the newly-built
system.
2007-05-04 07:46:33 -04:00
Abdulaziz Ghuloum 09e1b8e615 * makefile now overrides the primlocs when compiling the files. 2007-05-04 07:16:32 -04:00
Abdulaziz Ghuloum 0700cdc1cb * build-system-library in makefile now constructs a proper
current-primitive-locations procedure.
2007-05-04 06:14:20 -04:00
Abdulaziz Ghuloum 75bfaf49a0 * makefile now calls (current-primitive-locations (lambda (x) #f))
on startup.
2007-05-04 06:11:31 -04:00
Abdulaziz Ghuloum bc4e23ebbe * refresh-cached-labels! is good now. 2007-05-04 06:07:55 -04:00
Abdulaziz Ghuloum 664492e688 * cleaned up the assembly-labels code. 2007-05-04 05:01:38 -04:00
Abdulaziz Ghuloum cc159a4926 * SL_fx+_types is gone. 2007-05-04 04:19:57 -04:00
Abdulaziz Ghuloum 752ce74f1c * SL_fx+_type is gone from the compiler. 2007-05-04 04:17:21 -04:00
Abdulaziz Ghuloum f71cb36e11 * SL_apply_label is removed from the compiler. 2007-05-04 04:12:56 -04:00
Abdulaziz Ghuloum 416f49caf5 * make the "current-primitive-locations" a procedure that returns a
location instead of an alist.
2007-05-04 03:53:39 -04:00
Abdulaziz Ghuloum 54c48777d7 * The compiler now recognizes the (current-primitive-locations)
and generates appropriate code for symbols in the alist.
2007-05-04 03:48:49 -04:00
Abdulaziz Ghuloum 890c322adb * made the compiler initialization (compiling the error handlers)
a procedure that's called explicitly at the bottom of the compiler
  library.
2007-05-04 03:46:38 -04:00
Abdulaziz Ghuloum e3398504b8 * primitive-ref is removed from the compiler. 2007-05-04 03:33:26 -04:00
Abdulaziz Ghuloum 14a947e7f9 * removed the "primitive?" and "primitive-ref" primitives. 2007-05-04 03:31:57 -04:00
Abdulaziz Ghuloum b74108f21c * added a "current-primitive-locations" primitive that returns an
alist mapping primitives to their locations (gensyms).
2007-05-04 03:29:27 -04:00
Abdulaziz Ghuloum a3aef19781 * exports from the compiler to the next runtime (system) library
now works.
2007-05-04 03:00:16 -04:00
Abdulaziz Ghuloum e568cc87d9 * the compiler can now import values defined in other libraries
in the compiler.
2007-05-04 02:39:50 -04:00
Abdulaziz Ghuloum 8d19b91270 * unified the two library-expanders into one procedure
* made boot-library-expander install the library in the 
  current-library-collection.
2007-05-04 02:33:58 -04:00
Abdulaziz Ghuloum 6922733809 * added a "current-library-collection" primitive.
Calling (current-library-collection) returns a procedure that:
    - when called with no arguments, it returns a list of the set of
      libraries in the collection.
    - when called with a single argument, it adds that library to
      the set of libraries in the collection.
  Calling (current-library-collection f) sets the current library 
   collection to be the procedure f which must follow the protocol
   above.
2007-05-04 02:23:19 -04:00
Abdulaziz Ghuloum 34fa59f9d4 * (export (rename (internal-name external-name) ...)) now works. 2007-05-04 01:32:52 -04:00
Abdulaziz Ghuloum bf3e5711a9 * fixed a pretty-printer bug that caused gensym count to be assigned
out of order.  It now uses map1ltr instead of map for list
  processing.
2007-05-03 04:38:48 -04:00
Abdulaziz Ghuloum b6734896e2 * working on cleaning up the makefile 2007-05-03 03:58:43 -04:00
Abdulaziz Ghuloum 2c25051855 * auto-invoke completely gone. 2007-05-03 01:59:57 -04:00
Abdulaziz Ghuloum 4eca8e3915 * auto-invoke is gone. top-level must explicitly invoke a library. 2007-05-03 01:49:16 -04:00
Abdulaziz Ghuloum cc17420db8 * added an (invoke libspec* ...) form to the top-level. 2007-05-03 01:47:43 -04:00
Abdulaziz Ghuloum 7595e45326 * the primitive chi-top-library is gone. 2007-05-03 01:25:09 -04:00
Abdulaziz Ghuloum bee47205bf * initializer of "expand" is also gone. 2007-05-03 01:23:54 -04:00
Abdulaziz Ghuloum 11e6d6518f * the "expand" primitive is gone. 2007-05-03 01:22:33 -04:00
Abdulaziz Ghuloum 4f8d8fa212 * new-cafe and load use eval-top-level now. 2007-05-03 01:19:50 -04:00
Abdulaziz Ghuloum 2632c786ec * added an "eval-top-level" procedure. 2007-05-03 01:18:59 -04:00
Abdulaziz Ghuloum 86a75e8d54 * added an "imported-loc->library" procedure to the library manager 2007-05-03 01:07:10 -04:00
Abdulaziz Ghuloum d0c92ae99e things are looking better, lotsa cleanup in libcompile. 2007-05-03 00:54:32 -04:00
Abdulaziz Ghuloum 5db96309b6 * load-handler is gone. 2007-05-03 00:41:40 -04:00
Abdulaziz Ghuloum f6cafc8f40 * added a default-cafe-eval procedure that new-cafe calls by default.
* defailt-cafe-eval calls chi-library-top.
2007-05-03 00:38:42 -04:00
Abdulaziz Ghuloum 35600203f9 * added an load-handler procedure that defaults to calling
chi-library-top.
* changed definition of load to use load-handler
2007-05-03 00:33:18 -04:00
Abdulaziz Ghuloum cc2f391a6f * sc-expand is gone 2007-05-03 00:19:06 -04:00
Abdulaziz Ghuloum 097e430912 * current-expand is gone 2007-05-03 00:17:53 -04:00
Abdulaziz Ghuloum 260487b393 * libsyntax now uses eval-core to evaluate its run-time expressions. 2007-05-03 00:12:43 -04:00
Abdulaziz Ghuloum f14ac302f4 * added eval-core procedure. 2007-05-03 00:10:13 -04:00
Abdulaziz Ghuloum c780c192a1 * compile-time-core-eval is gone 2007-05-03 00:00:50 -04:00
Abdulaziz Ghuloum 96b15b3d74 * current-eval is gone. 2007-05-02 23:59:55 -04:00
Abdulaziz Ghuloum d6958c99a0 * making more changes 2007-05-02 23:56:46 -04:00
Abdulaziz Ghuloum d83bff5f5e * expand-mode is gone 2007-05-02 20:36:23 -04:00
Abdulaziz Ghuloum 9a80586934 * run-library-expander now installs and invokes the library
automatically.
2007-05-02 20:29:32 -04:00
Abdulaziz Ghuloum c3767da70e * Added an invoke-library primitive to the library manager. 2007-05-02 20:05:19 -04:00
Abdulaziz Ghuloum 362d9f3b38 * removes library-name/ver/id and added library-spec primitive 2007-05-02 19:22:54 -04:00
Abdulaziz Ghuloum 63d35807c1 * library manager exports library-name/id/version prims 2007-05-02 19:19:37 -04:00
Abdulaziz Ghuloum eb0d58f2aa * still working on the run-library-expander 2007-05-02 19:07:48 -04:00
Abdulaziz Ghuloum 1fdce919d7 * split the library expander into a core-library-expander
and two expanders: one for boot and one for runtime
2007-05-02 18:44:25 -04:00
Abdulaziz Ghuloum 4c4af70ffc * expander now uses imported-label->binding to resolve imported
bindings.
2007-05-02 18:16:25 -04:00
Abdulaziz Ghuloum 7aa29c5a00 * Added an imported-binding->label primitive to the library manager 2007-05-02 18:13:31 -04:00
Abdulaziz Ghuloum 402f6e48ed * The main subst used for expanding a library is now obtained
from the library manager.
2007-05-02 18:02:17 -04:00
Abdulaziz Ghuloum 86dc98afa1 * the scheme env is moved to the library manager 2007-05-02 17:13:16 -04:00
Abdulaziz Ghuloum ef4bb0951e * Added installed-libraries prim. 2007-05-02 16:55:54 -04:00
Abdulaziz Ghuloum 4df202261b * install-library now can install simple libraries. 2007-05-02 06:24:37 -04:00
Abdulaziz Ghuloum 896a4408fd * added initial code for a library manager 2007-05-02 04:48:41 -04:00
Abdulaziz Ghuloum 8383fd79d6 * added a primitive-location parameter. 2007-05-02 02:16:56 -04:00
Abdulaziz Ghuloum efded22ebc * boot-library-expand now returns an environment along with the
expanded code.
2007-05-02 01:52:11 -04:00
Abdulaziz Ghuloum 671e2f475c * Added a "boot-library-expand" to separate the top-library
expander from the experimental expander.
2007-05-02 00:06:44 -04:00
Abdulaziz Ghuloum 718b20767f * cleanup of makefile.ss 2007-05-01 17:39:17 -04:00
Abdulaziz Ghuloum 2fae44c304 * syntax-objects are now non-generative records 2007-05-01 17:25:43 -04:00
Abdulaziz Ghuloum e1bfd0f31f * added with-output-to-file to the scheme-env 2007-05-01 16:49:07 -04:00
Abdulaziz Ghuloum b2b8ba6994 * moved some of the original macros to be true macros
instead of chi procedures.
2007-05-01 16:41:36 -04:00
Abdulaziz Ghuloum f62a41cc43 * removed all x:identifiers that were introduced during the move. 2007-05-01 06:15:42 -04:00
Abdulaziz Ghuloum 5e3e02e295 * psyntax removed from repository.
* syntax.ss renamed to libsyntax.ss.
2007-05-01 06:09:01 -04:00
Abdulaziz Ghuloum 00326031d8 * entire system librarified 2007-05-01 05:49:33 -04:00
Abdulaziz Ghuloum b772735658 * syntax.ss librarified. 2007-05-01 05:16:32 -04:00
Abdulaziz Ghuloum 218b0aab48 * before librarifiying syntax.ss 2007-05-01 05:12:32 -04:00
Abdulaziz Ghuloum 76023d27c6 * libcompile librarified 2007-05-01 04:37:35 -04:00
Abdulaziz Ghuloum 5ae6f6bc76 * before trying libcompile 2007-05-01 04:36:53 -04:00
Abdulaziz Ghuloum 705e8f386b * fixed error in check-dups of modules in internal defines. 2007-05-01 02:19:05 -04:00
Abdulaziz Ghuloum 17664b1a37 * working on libcompile 2007-05-01 00:06:47 -04:00
Abdulaziz Ghuloum 16a57eaf5c * libnumerics librarified 2007-05-01 00:04:53 -04:00
Abdulaziz Ghuloum 1e54a6e8da * libintelasm librarified 2007-04-30 23:46:31 -04:00
Abdulaziz Ghuloum 572b97c769 libchezio librarified 2007-04-30 23:18:37 -04:00
Abdulaziz Ghuloum b737da1b6e * some support for syntax-case added. 2007-04-30 22:00:04 -04:00
Abdulaziz Ghuloum bee4776036 * working on librarifying syntax.ss 2007-04-30 04:51:37 -04:00
Abdulaziz Ghuloum 2fe1943872 * libhandlers librarified 2007-04-30 01:06:00 -04:00
Abdulaziz Ghuloum 163ac8e281 * libcontrol librarified 2007-04-30 01:02:08 -04:00
Abdulaziz Ghuloum e373daaf13 removed:
src/libcontrol0.ss
  src/libcontrol1.ss
2007-04-30 00:56:04 -04:00
Abdulaziz Ghuloum 159abbafc0 * merged libcontrol0.ss and libcontrol1.ss back to libcontrol.ss 2007-04-30 00:55:13 -04:00
Abdulaziz Ghuloum e028e37d0f * libcollect librarified 2007-04-30 00:50:10 -04:00
Abdulaziz Ghuloum e953fff362 * librecords librarified 2007-04-30 00:47:37 -04:00
Abdulaziz Ghuloum 56f3d05a6e * libcxr librarified 2007-04-30 00:35:28 -04:00
Abdulaziz Ghuloum f4b0668ebb * libguardians librarified 2007-04-30 00:33:22 -04:00
Abdulaziz Ghuloum c3839a721d * libcore librarified 2007-04-30 00:31:21 -04:00
Abdulaziz Ghuloum d7414001bd * libhash libarified 2007-04-29 23:13:19 -04:00
Abdulaziz Ghuloum 97478fd873 * libwriter librarified 2007-04-29 23:00:20 -04:00
Abdulaziz Ghuloum 5d7afb92d4 * libtokenizer now librarified 2007-04-29 22:29:42 -04:00
Abdulaziz Ghuloum 726d53ac1b * chi-library now enforces that imported ids cannot be defined
in the body of the library
2007-04-29 21:59:06 -04:00
Abdulaziz Ghuloum cf3ff29874 * libassembler librarified 2007-04-29 21:42:41 -04:00
Abdulaziz Ghuloum cb6971a438 * libfasl librarified 2007-04-29 21:25:31 -04:00
Abdulaziz Ghuloum 338265eab1 * libtrace librarified 2007-04-29 20:55:51 -04:00
Abdulaziz Ghuloum 0cd876d5a2 * libpp librarified
* chi-library now knows about modules (kind of)
2007-04-29 20:41:55 -04:00
Abdulaziz Ghuloum 948797da22 * libcafe librarized 2007-04-29 18:35:18 -04:00
Abdulaziz Ghuloum d8619ac96e * libposix librarified 2007-04-29 05:02:44 -04:00
Abdulaziz Ghuloum 0144cf7bb1 * libtimers is now a library (kind of, meaning, chi-top-library can
parse it.
2007-04-29 04:38:08 -04:00
Abdulaziz Ghuloum 5e0649c5c0 * libtoplevel.ss is now using libraries only 2007-04-28 22:59:58 -04:00
Abdulaziz Ghuloum 149ace20d9 * removed the pretty-print from the output of chi-top-library 2007-04-28 20:59:38 -04:00
Abdulaziz Ghuloum c1a946b346 * first library (ikarus interaction) is added.
* the library expander (syntax.ss) is added.
2007-04-28 20:54:02 -04:00
Abdulaziz Ghuloum fde9424682 updated boot after suppressing let-values bug 2007-04-28 05:06:43 -04:00
Abdulaziz Ghuloum 5db1a9626a * added compile-core-expr-to-port in order to compile the whole
program at once
2007-04-28 01:42:12 -04:00
Abdulaziz Ghuloum f27c2df625 * assign-frame-sizes is as complete as could be (time for assigning
libcompile.ss dropped from ~5 secs to 1.8 secs).
2007-03-11 20:55:43 -04:00
Abdulaziz Ghuloum 068bc38e42 * eliminated a few instances of set-rem and set->list. 2007-03-11 20:39:21 -04:00
Abdulaziz Ghuloum 2b6bcc324b * when a variable is assigned a location, it does not need to remove
itself from the edges of its conflicting nodes.
2007-03-11 20:07:00 -04:00
Abdulaziz Ghuloum c473619084 * important realization that set->list is perhaps the most expensive
operation on sets.  Working on eliminating most uses of set->list.
2007-03-11 20:00:08 -04:00
Abdulaziz Ghuloum 2b5b555bac * Just realized that you don't need all var<->var conflicts to be
recorded.  All is needed is for a var $x$ to know some of its var
  conflicts as long as the other conflicts know about $x$.  I'll be
  working on this now.  I'm hoping for a 50% speedup in the
  assign-frame-sizes pass.
2007-03-11 18:54:15 -04:00
Abdulaziz Ghuloum aa1c7e1bb7 * before changing number of bits to 28 2007-03-11 03:40:47 -04:00
Abdulaziz Ghuloum 3cb18c56e9 * deleting old list-based set representation. 2007-03-10 21:01:41 -05:00
Abdulaziz Ghuloum fa94d2f6a1 * added a few missing instruction sequences where the dest is a
memory location.
* implemented integer sets (based on tree representation).
2007-03-10 19:50:24 -05:00
Abdulaziz Ghuloum 10bdc3dcd6 * starting with IntegerSet 2007-03-10 16:47:13 -05:00
Abdulaziz Ghuloum d4559cfd4c cleanup of repository content. 2007-03-09 19:28:38 -05:00
Abdulaziz Ghuloum 5bb666bf7f * last commit on alt-cogen and beginning of alt-alt-cogen :-) 2007-03-09 14:01:17 -05:00
Abdulaziz Ghuloum 893a2decc8 * added bignum? primitive and removed ikrt_isbignum from the runtime
system.
2007-03-04 13:02:39 -05:00
Abdulaziz Ghuloum c6861f41d5 * added flonum? and removed ikrt_is_flonum from the runtime system. 2007-03-04 12:59:28 -05:00
Abdulaziz Ghuloum b326fbc07a * completed the move to new specify-representation pass infrastructure. 2007-03-03 23:17:04 -05:00
Abdulaziz Ghuloum cf65729971 more more more 2007-03-02 02:47:36 -05:00
Abdulaziz Ghuloum e9740fa34f * fixed bug in the graph construction that caused the operand of
idivl not to be added to the live set.
2007-03-02 00:41:28 -05:00
Abdulaziz Ghuloum de7c43a16b * optimized symbol calls using the symbol-function field.
* added error checks for applying nonprocedures.
2007-02-25 21:29:28 -05:00
Abdulaziz Ghuloum 87d8d5a5dd * added a $set-symbol-function! primitive. 2007-02-24 15:42:57 -05:00
Abdulaziz Ghuloum d99c22e8c4 * The shortcut form is now two parts: a body and a handler. The
evaluation of the body can jump to the handler at any point during
  evaluation by means of using the interrupt primitive or by
  overflow.
2007-02-22 23:02:50 -05:00
Abdulaziz Ghuloum 819a3ca1c1 * bug in collector causing dirty bits for code objects with younger reloc
vectors to be unset incorrectly.  The bug was in using || instead
  of | when computing the dirty pattern.
2007-02-22 21:58:38 -05:00
Abdulaziz Ghuloum 0bd88991cb * looks not bad. 2007-02-19 23:33:29 -05:00
Abdulaziz Ghuloum 30f71b0381 * frame moves are not working as nicely as they should. 2007-02-19 18:21:35 -05:00
Abdulaziz Ghuloum b6dd620b94 * chaitin can now compile the system. 2007-02-17 19:22:14 -05:00
Abdulaziz Ghuloum 0304c85082 * pre-spilling call-live variables works for the test cases now. 2007-02-17 18:09:03 -05:00
Abdulaziz Ghuloum 85bf359150 * psyntax is not working under chaitin. 2007-02-16 10:11:21 -05:00
Abdulaziz Ghuloum 649e7f022a * libchezio and libhash are remaining 2007-02-15 23:54:39 -05:00
Abdulaziz Ghuloum 1a4cdcb7b0 * libcore now compiles with chaitin 2007-02-14 19:42:36 -05:00
Abdulaziz Ghuloum 434ebe9525 * The $apply macro and all the appcall forms were removed from the
compiler after realizing that I was stupid.  
  ($appcall rator rand*)  was just (jmpcal SL_apply rator rand*)
2007-02-14 15:50:34 -05:00
Abdulaziz Ghuloum 8294a8dee9 * fixed an assembler bug in "addl reg -> mem" 2007-02-13 17:24:00 -05:00
Abdulaziz Ghuloum 297e47db32 * adding some asm tests in asm-tests.ss 2007-02-13 05:08:48 -05:00
Abdulaziz Ghuloum a123a77bbc * nothing much 2007-02-13 02:05:58 -05:00
Abdulaziz Ghuloum 826adfe9dd * can now compile libtoplevel 2007-02-12 23:19:56 -05:00
Abdulaziz Ghuloum f88e3a8b65 * libnumeric can be compiled now with chaitin 2007-02-12 23:03:41 -05:00
Abdulaziz Ghuloum 2e477881b6 * split libcontrol into primitive libcontrol0 and extended
libcontrol1.
2007-02-12 19:17:31 -05:00
Abdulaziz Ghuloum fad2c4e999 * fixed bug in assembler
* assembler now handles  orl imm, mem
2007-02-12 17:59:58 -05:00
Abdulaziz Ghuloum f766ca1148 * passes tests, but fails to compile psyntax. 2007-02-12 13:58:04 -05:00
Abdulaziz Ghuloum fa6e499b22 * before attempting to use chaitin to compile the system. 2007-02-11 21:42:01 -05:00
Abdulaziz Ghuloum 353b4393b0 tests 2.4 pass 2007-02-11 21:18:12 -05:00
Abdulaziz Ghuloum d0cf70341c * passinf 2.2 2007-02-11 19:17:59 -05:00
Abdulaziz Ghuloum 217445835f * passing 2.1 2007-02-11 18:52:10 -05:00
Abdulaziz Ghuloum 5174ccb1cc * passing 1.9 2007-02-11 18:07:58 -05:00
Abdulaziz Ghuloum 6fd790b046 * altcogen passes 1.8 2007-02-11 18:06:04 -05:00
Abdulaziz Ghuloum c44caba238 * newcogen passes 1.6 2007-02-11 17:51:42 -05:00
Abdulaziz Ghuloum 910b52f1f1 * libaltcogen now passes 1.5 2007-02-11 17:34:13 -05:00
Abdulaziz Ghuloum 639f8f4f25 * altcompile now passes conditionals. 2007-02-11 17:23:13 -05:00
Abdulaziz Ghuloum f5411877ba * altcompile now passes tests 1.3 2007-02-11 04:12:09 -05:00
Abdulaziz Ghuloum 27d8fd4558 * libaltcogen can now compile a simple expression :-) 2007-02-10 18:51:12 -05:00
Abdulaziz Ghuloum f10a8ffccd commented out references to some unused register names 2007-02-10 11:49:38 -05:00
Abdulaziz Ghuloum 7c26c2b19e * racompile passes 1.5 2007-02-05 22:35:38 -05:00
Abdulaziz Ghuloum caf234c0c3 * racompile passes 1.4 2007-02-05 20:38:22 -05:00
Abdulaziz Ghuloum 4698e0fd92 * racompiler passes 1.3
* assembler handles more xor operands
2007-02-05 17:09:50 -05:00
Abdulaziz Ghuloum f7e773b30f * racompiler passes tests 1.2 2007-02-05 14:46:33 -05:00
Abdulaziz Ghuloum 1eff505ab4 * racompiler compiles integers. 2007-02-05 14:30:42 -05:00
Abdulaziz Ghuloum f5d870f23b * made assembler accept integers (instead of fixnums) as immediates. 2007-02-05 14:19:03 -05:00
Abdulaziz Ghuloum d04dd79b81 * added open-input-string 2007-02-04 15:51:47 -05:00
Abdulaziz Ghuloum 0f5af66775 * Added a warning procedure. 2007-01-31 19:07:28 -05:00
Abdulaziz Ghuloum 3c4986ff89 * added last-pair primitive 2007-01-31 17:23:49 -05:00
Abdulaziz Ghuloum 126b7aa8fa * call-with-values where the second argument is a single-value
procedure is now direct-call-optimized.
2007-01-26 10:23:07 -05:00
Abdulaziz Ghuloum 8139a91a61 * Modified the reader and writer to accept "->[subsequent]*" as an
identifier.
2007-01-26 09:05:07 -05:00
Abdulaziz Ghuloum d8f646040f * added with-output-to-string 2007-01-22 21:07:20 -05:00
Abdulaziz Ghuloum 82375a3ddc * new-cogen now removes all primcalls before proceeding. Ideally,
no primcalls should be introduced at that point.
2007-01-21 22:24:12 -05:00
Abdulaziz Ghuloum f114fc2f78 * Started work on new cogen 2007-01-21 21:20:39 -05:00