Commit Graph

353 Commits

Author SHA1 Message Date
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 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 e3ddd4d0e6 * added the $unbound-object? prim to the (ikarus system $symbols)
library.
2007-05-06 18:43:04 -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 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 adc4869540 * added (ikarus system $apply) and removed import of (scheme) in
ikarus.apply.ss
2007-05-06 17:57:31 -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 c0bf35338d * $base-rtd is gone. 2007-05-05 22:59:09 -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 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 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 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 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 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 67561089ae * added (ikarus lists)
* moved $memq to (ikarus lists)
2007-05-05 05:22:15 -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 828df98fa8 * added an (ikarus vectors) library.
* moved make-vector to ikarus.vectors
2007-05-05 04:25:15 -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 3dde7f6c1a * string-ref moved to ikarus.strings. 2007-05-05 03:46:26 -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 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 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 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 19b1df212f renamed:
src/libhandlers.ss => src/ikarus.handlers.ss
2007-05-04 09:30:05 -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 a3aef19781 * exports from the compiler to the next runtime (system) library
now works.
2007-05-04 03:00:16 -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 4eca8e3915 * auto-invoke is gone. top-level must explicitly invoke a library. 2007-05-03 01:49: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 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 5ae6f6bc76 * before trying libcompile 2007-05-01 04:36:53 -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 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 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 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 97478fd873 * libwriter librarified 2007-04-29 23:00:20 -04:00
Abdulaziz Ghuloum cf3ff29874 * libassembler librarified 2007-04-29 21:42:41 -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 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 87d8d5a5dd * added a $set-symbol-function! primitive. 2007-02-24 15:42:57 -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 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 2e477881b6 * split libcontrol into primitive libcontrol0 and extended
libcontrol1.
2007-02-12 19:17:31 -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 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 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 d8f646040f * added with-output-to-string 2007-01-22 21:07:20 -05:00
Abdulaziz Ghuloum 1c37a4ee54 * changing representation for all non-fixnum numbers. 2007-01-21 19:20:37 -05:00
Abdulaziz Ghuloum 783beb990b * exact->inexact is now implemnted.
* +, -, and * now handles flonums by converting exact arguments to
  inexact if the other argument is a flonum.
2007-01-20 19:26:17 -05:00
Abdulaziz Ghuloum de910a3544 * added flonum?, string->flonum, and flonum->string. 2007-01-20 17:49:25 -05:00
Abdulaziz Ghuloum c6bc77bc9d * Many numeric predicates are added (exact?, inexact?, real?,
complex?, etc.).
* min and max are added.
2007-01-20 16:52:22 -05:00
Abdulaziz Ghuloum a2692706d4 added char-whitespace? 2007-01-20 14:40:41 -05:00
Abdulaziz Ghuloum a47856614f * The procedure member is now defined. 2007-01-20 00:09:11 -05:00
Abdulaziz Ghuloum 8b1236e031 * removed all dlink stuff from hash table. 2007-01-17 14:56:45 -05:00
Abdulaziz Ghuloum 872a5e2e9e * Added even? and odd? primitives. 2007-01-13 22:32:54 -05:00
Abdulaziz Ghuloum 92e278281c * pretty-print is now added to ikarus.
* new-cafe now uses pretty-print instead of write for printing to
  the interaction repl.
2007-01-13 21:33:04 -05:00
Abdulaziz Ghuloum 212224b4cf * Added the primitive (environ):
returns an alist of (string x string) as obtained from the
    system environ.
* Added the primitive env:
  (env "key") retrieves the env value associated with key
  (env "key" "val") sets the env value assocuated with key to val
  (env "key" "val" overwrite?) same as above but it does not
  overwrite an existing value of overwrite? is #f.
2007-01-13 00:42:37 -05:00
Abdulaziz Ghuloum 09d9687fdd * Cogen no longer generates (int x) where x is a fixnum. 2007-01-09 09:44:00 +03:00
Abdulaziz Ghuloum ffc5ef557c (int x) is no longer emitted by the cogen.
assembler handles (int x) and fixnums similarly.
2007-01-09 09:24:07 +03:00
Abdulaziz Ghuloum 63575db860 * makefile.ss is updated to use fork and waitpid in order to make
use of the dual-core capability of my macbook :-)  
  Compile-time is now 1.5secs real-time.
2007-01-01 02:48:17 +03:00
Abdulaziz Ghuloum a5618ef877 * Fork, posix-fork, and waitpid are implemented. 2007-01-01 02:02:41 +03:00
Abdulaziz Ghuloum 2ea03e0417 * Fixed bug in collecting bignums.
* time-it now displays the number of collections and bytes
  allocated.
2006-12-29 13:45:30 +03:00
Abdulaziz Ghuloum b507118f5d Added libtimers.ss:
(time-it proc) runs proc and reports the time.
  (time-it proc message) runs proc and reports the time, with message.
  (time <expr>) evaluates expr and prints the running time.
2006-12-29 10:53:47 +03:00
Abdulaziz Ghuloum 4fa2bdf0d9 tokenize recognizes #@ as a fasl header and calls $fasl-read (in
libfasl.ss).
2006-12-26 06:21:07 +03:00
Abdulaziz Ghuloum 711cabe8bb removed all references to oblist from ss files 2006-12-25 09:20:09 +03:00
Abdulaziz Ghuloum 4f5490039b * (interrupt-handler) is added to handle INT signals.
* Cafes now customize the interrupt-handler to suppress the error
  message during read that the default interrupt handler generates.
2006-12-24 12:53:01 +03:00
Abdulaziz Ghuloum da9518cc49 added comment to libguardians about where the code came from. 2006-12-24 12:20:16 +03:00
Abdulaziz Ghuloum 0a01d8b4b8 makefile.ss and ikarusdoc now use "/usr/bin/env ikarus" in the shebang
line.
2006-12-24 12:08:18 +03:00
Abdulaziz Ghuloum 1e572559b7 collect is added to the set of public primitives 2006-12-24 11:50:19 +03:00
Abdulaziz Ghuloum f729a725d2 libinterpret is gone. 2006-12-24 11:27:53 +03:00
Abdulaziz Ghuloum 599f68aa84 * Ikarus now handles interrupts (e.g. ^C) by signalling an error
when an interrupt occurs.
2006-12-24 11:24:53 +03:00
Abdulaziz Ghuloum 2fcae826d1 * with-input-from-file, call-with-input-file, with-output-to-file,
and call-with-output-file no longer use dynamic-wind to track if
  an exit continuation is invoked multiple times.
2006-12-21 10:56:07 +03:00
Abdulaziz Ghuloum 8dac92a512 added guardians primitives, not tested 2006-12-19 19:41:13 +03:00
Abdulaziz Ghuloum b7410520cb renamed all if (accounting) {...} to
#if accounting
 ...
#endif
2006-12-17 03:00:34 +03:00
Abdulaziz Ghuloum 63dd3ba9b4 Moved test files to tests directory 2006-12-17 02:11:57 +03:00
Abdulaziz Ghuloum 5f3ee8a2c4 renamed lib dir to src 2006-12-10 23:13:16 -05:00
Abdulaziz Ghuloum 5bb14cad6e renamed:
runtime => bin
  src => lib
2006-12-01 10:40:21 -05:00
Abdulaziz Ghuloum 0ff5b0cf75 * Added a $arg-list system primitive that accesses the pcb->arg_list
field.
* Added a command-line-arguments parameter to the core.
2006-12-01 10:02:05 -05:00
Abdulaziz Ghuloum 9eaaf3c438 added file-exists? and delete-file operations to libposix.ss and ikarus-runtime.c 2006-11-29 17:06:16 -05:00
Abdulaziz Ghuloum e97b39a39a implemented assoc 2006-11-28 06:54:07 -05:00
Abdulaziz Ghuloum f6a95c07d2 Removed all version names from files 2006-11-23 20:37:04 -05:00
Abdulaziz Ghuloum 10268dfc43 Fixed makefiles 2006-11-23 20:18:02 -05:00