Commit Graph

420 Commits

Author SHA1 Message Date
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