Abdulaziz Ghuloum
d59c2b304b
major restructuring to support autotools
...
added:
Makefile
Makefile.am
Makefile.in
aclocal.m4
config.guess
config.sub
configure
configure.ac
depcomp
install-sh
missing
mkinstalldirs
src/Makefile.am
src/Makefile.in
src/scheme/
renamed:
bin/ikarus-collect.c => src/ikarus-collect.c
bin/ikarus-data.h => src/ikarus-data.h
bin/ikarus-enter.s => src/ikarus-enter.s
bin/ikarus-exec.c => src/ikarus-exec.c
bin/ikarus-fasl.c => src/ikarus-fasl.c
bin/ikarus-flonums.c => src/ikarus-flonums.c
bin/ikarus-main.c => src/ikarus-main.c
bin/ikarus-numerics.c => src/ikarus-numerics.c
bin/ikarus-print.c => src/ikarus-print.c
bin/ikarus-runtime.c => src/ikarus-runtime.c
bin/ikarus-symbol-table.c => src/ikarus-symbol-table.c
bin/ikarus-verify-integrity.c => src/ikarus-verify-integrity.c
bin/ikarus-weak-pairs.c => src/ikarus-weak-pairs.c
bin/ikarus-winmmap.c => src/ikarus-winmmap.c
bin/ikarus-winmmap.h => src/ikarus-winmmap.h
src/asm-tests.ss => src/scheme/asm-tests.ss
src/dotests.ss => src/scheme/dotests.ss
src/ikarus => src/scheme/ikarus
src/ikarus.apply.ss => src/scheme/ikarus.apply.ss
src/ikarus.bytevectors.ss => src/scheme/ikarus.bytevectors.ss
src/ikarus.cafe.ss => src/scheme/ikarus.cafe.ss
src/ikarus.chars.ss => src/scheme/ikarus.chars.ss
src/ikarus.code-objects.ss => src/scheme/ikarus.code-objects.ss
src/ikarus.codecs.ss => src/scheme/ikarus.codecs.ss
src/ikarus.collect.ss => src/scheme/ikarus.collect.ss
src/ikarus.command-line.ss => src/scheme/ikarus.command-line.ss
src/ikarus.compiler.altcogen.ss => src/scheme/ikarus.compiler.altcogen.ss
src/ikarus.compiler.ss => src/scheme/ikarus.compiler.ss
src/ikarus.control.ss => src/scheme/ikarus.control.ss
src/ikarus.date-string.ss => src/scheme/ikarus.date-string.ss
src/ikarus.fasl.ss => src/scheme/ikarus.fasl.ss
src/ikarus.fasl.write.ss => src/scheme/ikarus.fasl.write.ss
src/ikarus.fixnums.ss => src/scheme/ikarus.fixnums.ss
src/ikarus.guardians.ss => src/scheme/ikarus.guardians.ss
src/ikarus.handlers.ss => src/scheme/ikarus.handlers.ss
src/ikarus.hash-tables.ss => src/scheme/ikarus.hash-tables.ss
src/ikarus.intel-assembler.ss => src/scheme/ikarus.intel-assembler.ss
src/ikarus.io-ports.ss => src/scheme/ikarus.io-ports.ss
src/ikarus.io-primitives.ss => src/scheme/ikarus.io-primitives.ss
src/ikarus.io-primitives.unsafe.ss => src/scheme/ikarus.io-primitives.unsafe.ss
src/ikarus.io.input-files.ss => src/scheme/ikarus.io.input-files.ss
src/ikarus.io.input-strings.ss => src/scheme/ikarus.io.input-strings.ss
src/ikarus.io.output-files.ss => src/scheme/ikarus.io.output-files.ss
src/ikarus.io.output-strings.ss => src/scheme/ikarus.io.output-strings.ss
src/ikarus.lists.ss => src/scheme/ikarus.lists.ss
src/ikarus.load.ss => src/scheme/ikarus.load.ss
src/ikarus.main.ss => src/scheme/ikarus.main.ss
src/ikarus.multiple-values.ss => src/scheme/ikarus.multiple-values.ss
src/ikarus.numerics.ss => src/scheme/ikarus.numerics.ss
src/ikarus.pairs.ss => src/scheme/ikarus.pairs.ss
src/ikarus.posix.ss => src/scheme/ikarus.posix.ss
src/ikarus.predicates.ss => src/scheme/ikarus.predicates.ss
src/ikarus.pretty-print.ss => src/scheme/ikarus.pretty-print.ss
src/ikarus.promises.ss => src/scheme/ikarus.promises.ss
src/ikarus.reader.ss => src/scheme/ikarus.reader.ss
src/ikarus.records.procedural.ss => src/scheme/ikarus.records.procedural.ss
src/ikarus.singular-objects.ss => src/scheme/ikarus.singular-objects.ss
src/ikarus.sort.ss => src/scheme/ikarus.sort.ss
src/ikarus.strings.ss => src/scheme/ikarus.strings.ss
src/ikarus.structs.ss => src/scheme/ikarus.structs.ss
src/ikarus.symbols.ss => src/scheme/ikarus.symbols.ss
src/ikarus.timer.ss => src/scheme/ikarus.timer.ss
src/ikarus.trace.ss => src/scheme/ikarus.trace.ss
src/ikarus.transcoders.ss => src/scheme/ikarus.transcoders.ss
src/ikarus.unicode-data.ss => src/scheme/ikarus.unicode-data.ss
src/ikarus.vectors.ss => src/scheme/ikarus.vectors.ss
src/ikarus.writer.ss => src/scheme/ikarus.writer.ss
src/makefile.ss => src/scheme/makefile.ss
src/pass-specify-rep-primops.ss => src/scheme/pass-specify-rep-primops.ss
src/pass-specify-rep.ss => src/scheme/pass-specify-rep.ss
src/psyntax.builders.ss => src/scheme/psyntax.builders.ss
src/psyntax.compat.ss => src/scheme/psyntax.compat.ss
src/psyntax.config.ss => src/scheme/psyntax.config.ss
src/psyntax.expander.ss => src/scheme/psyntax.expander.ss
src/psyntax.internal.ss => src/scheme/psyntax.internal.ss
src/psyntax.library-manager.ss => src/scheme/psyntax.library-manager.ss
src/r6rs-records.ss => src/scheme/r6rs-records.ss
src/rationalize.ss => src/scheme/rationalize.ss
src/run-tests.ss => src/scheme/run-tests.ss
src/set-operations.ss => src/scheme/set-operations.ss
src/tests => src/scheme/tests
src/tests.libraries.ss => src/scheme/tests.libraries.ss
src/todo-r6rs.ss => src/scheme/todo-r6rs.ss
src/unicode => src/scheme/unicode
modified:
src/ikarus.boot
2007-10-17 19:59:37 -04:00
Abdulaziz Ghuloum
63c7e7f1d3
* restructuring .../bin
2007-10-17 09:22:47 -04:00
Abdulaziz Ghuloum
90bf017e61
* Added full cygwin port.
2007-10-16 02:10:51 -04:00
Abdulaziz Ghuloum
74343ba442
* added mystpcpy to ikarus-main.c to be used in place of stpcpy;
2007-10-15 18:07:29 -04:00
Abdulaziz Ghuloum
d6eeb0ab7a
* removed all calls to mprotect from the runtime system.
2007-10-15 17:58:03 -04:00
Abdulaziz Ghuloum
6705a7c2fa
* exit now calls ikrt_exit which deallocates the pcb then exits.
...
* Added allocation-table implementation (ikarus.at.[hc]) which are
not used yet.
2007-10-15 10:41:08 -04:00
Abdulaziz Ghuloum
ba2b83fdf1
* some additions to the expander to support r6rs records.
2007-10-14 16:37:55 -04:00
Abdulaziz Ghuloum
ca27d8e626
* compiler and fasl-write and fasl-read now understand code
...
annotations
2007-10-10 04:41:11 -04:00
Abdulaziz Ghuloum
82a00e2628
* Fixed a bug in the GC that caused performance to degrade when
...
ik_alloc extends the heap (by 128KB) and the heap size remains set
to that value (causing more frequent GCs than usual). Now, after
ik_collect, if the heapsize is less than 4MB, it's extended to
4MB (minimum).
2007-09-15 01:54:45 -04:00
Abdulaziz Ghuloum
6b1860af65
* sll now works for all arguments.
2007-09-13 00:47:41 -04:00
Abdulaziz Ghuloum
3247c0641d
* sll now supports shifting fixnums by any amount.
2007-09-13 00:08:41 -04:00
Abdulaziz Ghuloum
52a36d4c3f
* Added sra, fixing the bignum shift bugs.
2007-09-12 23:34:21 -04:00
Abdulaziz Ghuloum
ef1a828f1f
* Fixed a bug in that caused exact->inexact to return nans when
...
given big ratnums. E.g.
(exact->inexact (/ (expt 2 3000) (- (expt 2 3000) 1)))
now returns 1.0 instead of +nan.0
2007-09-12 19:08:45 -04:00
Abdulaziz Ghuloum
9d32ae5767
* ikarus-fasl.c can now read bignums.
2007-09-12 16:59:21 -04:00
Abdulaziz Ghuloum
888833f686
* Added flexpt
2007-09-12 03:56:08 -04:00
Abdulaziz Ghuloum
3ecf53f9fd
* Added flexp
2007-09-10 23:36:36 -04:00
Abdulaziz Ghuloum
5007ef2d20
* Fixed linux build options in makefile.
2007-09-09 20:58:47 -04:00
Abdulaziz Ghuloum
c811812726
* Added conditional build for linux.
2007-09-09 14:19:51 -04:00
Abdulaziz Ghuloum
1cd2b8acfc
* Handling weak-pairs is now generational, fixing performance
...
problems when guardians were used to implement hash tables.
2007-09-06 22:45:20 -04:00
Abdulaziz Ghuloum
2c2b3eb1f1
* Added procedure-annotation primitive that returns the annotation
...
object stored in the closure's code.
2007-09-04 20:18:11 -04:00
Abdulaziz Ghuloum
ad118623ec
* Added $code-annotation and $set-code-annotation! primops
2007-09-04 19:59:14 -04:00
Abdulaziz Ghuloum
50dcf3a11f
* disp-code-data changed from 16 to 24 in order to allow for future
...
code annotations.
2007-09-04 19:16:43 -04:00
Abdulaziz Ghuloum
cb40f0ae3c
* disp-bytevector-data changed to 8.
2007-09-04 01:40:31 -04:00
Abdulaziz Ghuloum
38a60b4d84
Added various geom functions to runtime including asin, acos, tan
2007-09-02 20:53:28 -04:00
Abdulaziz Ghuloum
51d512484b
* Refixed implementation of guardians to handle dead tconcs
...
properly.
2007-09-01 20:14:05 -04:00
Abdulaziz Ghuloum
95f34409e6
* Slight improvement to the guardians' performance.
2007-09-01 01:21:11 -04:00
Abdulaziz Ghuloum
4daea5e4e0
* Added ikrt_register_guardian_pair to replace ikrt_register_guardian.
2007-09-01 01:00:35 -04:00
Abdulaziz Ghuloum
5667428e70
* reimplemented guardians (which now, incidentally, work).
2007-08-31 23:28:19 -04:00
Abdulaziz Ghuloum
22f3ce4f79
* Added a (collect-key) procedure that returns a string "k" that's
...
eq? to the value returned by (collect-key) until a garbage
collection is performed.
2007-08-30 22:09:13 -04:00
Abdulaziz Ghuloum
e20576a444
* Added a pcb field "collect_key" that simply gets set to #f
...
when garbage collection occurs.
2007-08-30 21:58:24 -04:00
Abdulaziz Ghuloum
fc06fa7312
* Added ikrt_fxrandom function to the runtime system.
2007-08-30 21:44:52 -04:00
Abdulaziz Ghuloum
f030e4e11d
* Stats record now contains gc-info fields.
2007-08-30 12:54:21 -04:00
Abdulaziz Ghuloum
46755415b4
Added large object support for collecting large vectors
2007-08-30 12:01:54 -04:00
Abdulaziz Ghuloum
28b143036f
Added time macro
2007-08-30 11:06:21 -04:00
Abdulaziz Ghuloum
2d9f5377ae
* Some fixes to the runtime system.
...
modified:
bin/ikarus
bin/ikarus-fasl.c
bin/ikarus-main.c
bin/ikarus-runtime.c
src/ikarus.boot
2007-08-29 01:45:10 -04:00
Abdulaziz Ghuloum
d68e4283b9
* Added symlinks.
...
added:
src/ikarus/
src/ikarus/code-objects.ss@
src/ikarus/compiler.ss@
src/ikarus/fasl/
src/ikarus/fasl/write.ss@
src/ikarus/intel-assembler.ss@
2007-08-28 21:27:37 -04:00
Abdulaziz Ghuloum
d1221276b9
Added vector-for-each
2007-08-28 17:24:53 -04:00
Abdulaziz Ghuloum
bc3e216f63
* transition to non-consing add_one_tconc is done.
...
* Performance gains for making a hash table of 10,000,000 elements
are:
Before: 47secs Now: 17secs.
2007-06-29 01:53:18 +03:00
Abdulaziz Ghuloum
5358680912
* tconc queue now uses 2-words per tconc in the transition to
...
non-allocating tconc_add procedure.
2007-06-29 01:46:27 +03:00
Abdulaziz Ghuloum
41e1859b2b
* Fized a bug in the collector that caused tconc pages to never get
...
deallocated. Tconc pages are now allocated from generation 1.
2007-06-29 01:32:16 +03:00
Abdulaziz Ghuloum
d3b2ee35f3
* Added $fixnum->flonum (not working yet)
2007-06-18 14:06:13 +03:00
Abdulaziz Ghuloum
ab6162d2a7
* Added string-foldcase and string-ci=? (inefficiently)
2007-06-18 02:49:40 +03:00
Abdulaziz Ghuloum
b6779a0f87
* Added flonum fasl reader.
2007-06-14 19:48:57 +03:00
Abdulaziz Ghuloum
90feb453f5
* Added tests for bignum->flonum.
2007-06-10 20:32:48 +03:00
Abdulaziz Ghuloum
7246be795d
* removed old flonum->string Scheme code and supporting C code.
2007-06-10 10:35:45 +03:00
Abdulaziz Ghuloum
cccdd1122c
* Added flonum->string using dybvig's algorithm.
2007-06-10 07:55:49 +03:00
Abdulaziz Ghuloum
0480517615
* Added floor/ceiling.
2007-06-10 07:32:19 +03:00
Abdulaziz Ghuloum
57f4d16ee2
* Added ikrt_fl_log and ikrt_fx_log to the vm.
2007-06-09 03:08:36 +03:00
Abdulaziz Ghuloum
fb48ef12bd
* disabled gzipped fasl files. too slow :-(
2007-05-22 19:01:07 -04:00
Abdulaziz Ghuloum
580481d8fc
* The runtime system can now open gzipped bootfiles in addition to
...
uncompressed fasl files.
2007-05-22 17:56:15 -04:00