Abdulaziz Ghuloum
0e10e5023c
* Added hashtable-size, hashtable-delete!, hashtable-contains?, and
...
hashtable-update!
2007-10-10 07:36:19 -04:00
Abdulaziz Ghuloum
8bfadc3a67
* make-hashtable is renamed to make-eq-hashtable, along with all
...
references
2007-10-10 07:09:18 -04:00
Abdulaziz Ghuloum
b24ce124b2
* Added fold-left and fold-right.
2007-10-10 06:43:25 -04:00
Abdulaziz Ghuloum
995944723d
* added tests for procedure "for-all"
2007-10-10 05:28:07 -04:00
Abdulaziz Ghuloum
82eb606715
* arguments to expanded let now get proper procedure names so that
...
(let ((f (lambda (x) x))) f) prints as #<procedure f>.
2007-10-10 05:06:31 -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
c3d410d572
* Added for-all and exists
2007-10-10 03:53:42 -04:00
Abdulaziz Ghuloum
241bdd8d4d
* renamed all hash-table primitives to their r6rs counterparts.
2007-10-09 09:22:02 -04:00
Abdulaziz Ghuloum
75692f0306
* deleted ikarus.syntax.ss which is no longer needed
...
* removed (ikarus system $all) library which is replaced by
(psyntax system $all)
2007-10-09 09:05:22 -04:00
Abdulaziz Ghuloum
687c45dd6f
* reintegrated the expander from the psyntax distro.
2007-10-09 08:54:28 -04:00
Abdulaziz Ghuloum
09fd6ff1b3
* re-integrated the library-manager from the psyntax distro.
2007-10-09 07:56:30 -04:00
Abdulaziz Ghuloum
658ad73ed2
* merged identifier->library-map from psyntax distro.
2007-10-09 06:01:20 -04:00
Abdulaziz Ghuloum
8de86bda33
* added legend entries from psyntax distro.
2007-10-09 05:23:40 -04:00
Abdulaziz Ghuloum
411c05c74b
* Made top-level set! more like r5rs's top-level set!.
2007-09-15 23:42:43 -04:00
Abdulaziz Ghuloum
79916549cd
* Added fxif
2007-09-15 03:27:28 -04:00
Abdulaziz Ghuloum
4b0a0411c0
* Added fx+/carry, fx*/carry, and fx-/carry (with tests)
2007-09-15 03:16:55 -04:00
Abdulaziz Ghuloum
96bd57c922
* Added fixnum-width, least-fixnum, greatest-fixnum
2007-09-15 02:06:16 -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
a2ed662821
* Added fxmin and fxmax
2007-09-15 00:24:38 -04:00
Abdulaziz Ghuloum
54472a1994
* Added fxarithmetic-shift* procedures.
...
* Added trace examples in ikarus.trace.h
* slatex benchmark now compiles properly.
2007-09-15 00:14:47 -04:00
Abdulaziz Ghuloum
ea28d03f43
* Added make-traced-procedure, trace-lambda and trace-define.
2007-09-13 22:42:48 -04:00
Abdulaziz Ghuloum
7d46631e14
* (fxsra <fx> <32*i>) now returns a proper value (0 or 1)
2007-09-13 21:09:09 -04:00
Abdulaziz Ghuloum
cb3b0b3edd
* fx+ now signals an error on overflow properly.
2007-09-13 19:25:47 -04:00
Abdulaziz Ghuloum
3facf76eff
* Added fx=?, fx<?, fx<=?, fx>?, and fx>=?
2007-09-13 16:39:13 -04:00
Abdulaziz Ghuloum
c552e0b3b1
* char-category/property predicates now gain an 80% reduction in
...
runtime due to using unsafe prims.
2007-09-13 15:59:39 -04:00
Abdulaziz Ghuloum
2b50672aa2
* Fixed yet another bug in extracting category info from
...
UnicodeData.txt
2007-09-13 15:49:02 -04:00
Abdulaziz Ghuloum
4ff03fcd77
* cleanup of extract-info.ss
2007-09-13 07:09:31 -04:00
Abdulaziz Ghuloum
a85669fc4d
* Fixed the char-numeric? Numeric property.
2007-09-13 07:04:13 -04:00
Abdulaziz Ghuloum
9a62c12c66
* Added char-alphabetic? char-numeric? char-whitespace?
...
char-upper-case? char-lower-case? char-title-case?
2007-09-13 06:27:31 -04:00
Abdulaziz Ghuloum
62ee718fb8
* rewrote char categories stuff
...
* constituents vector is gone
removed:
src/unicode/extract-categories.ss
src/unicode/unicode-constituents.ss
added:
src/unicode/extract-info.ss
src/unicode/unicode-charinfo.ss
modified:
src/ikarus.boot
src/ikarus.unicode-data.ss
src/unicode/unicode-data.ss
2007-09-13 06:11:26 -04:00
Abdulaziz Ghuloum
e6f678bb52
* Added bytevector-u32-native-ref, bytevector-u32-native-set!,
...
bytevector-s32-native-ref, and bytevector-s32-native-set!
2007-09-13 01:57:36 -04:00
Abdulaziz Ghuloum
d6ed7b8a4d
* Added bytevector-u32-ref, bytevector-u32-set!, bytevector-s32-ref,
...
and bytevector-s32-set!.
2007-09-13 01:44:10 -04:00
Abdulaziz Ghuloum
2f75448f03
* Added bitwise-arithmetic-shift, bitwise-arithmetic-shift-left,
...
and bitwise-arithmetic-shift-right,
2007-09-13 01:10:57 -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
69d692417f
* Added real-valued?, integer-valued? and rational-valued?
2007-09-12 03:10:54 -04:00
Abdulaziz Ghuloum
c55cad8502
* Added finite?, infinite?, and nan?
2007-09-12 02:44:19 -04:00
Abdulaziz Ghuloum
ed45b486a3
* Added div, mod, div-and-mod, div0, mod0, div0-and-mod0.
2007-09-12 02:37:03 -04:00
Abdulaziz Ghuloum
9d8ceef99f
* Added rationalize
2007-09-12 00:57:04 -04:00
Abdulaziz Ghuloum
2eaaa77615
* Added the procedure expand:
...
(expand <expr> <environment>)
expands the expression in environment and returns two values:
an expanded core expression and a list of libraries that must be
invoked before the core expression is evaluated.
2007-09-11 13:32:14 -04:00
Abdulaziz Ghuloum
ca2be2436a
* string->number now understands +nan.0, -nan.0, +inf.0 and -inf.0.
2007-09-11 03:13:28 -04:00
Abdulaziz Ghuloum
277710d6d1
* Added reader syntax for +nan.0 -nan.0 +inf.0 and -inf.0
2007-09-11 03:06:35 -04:00
Abdulaziz Ghuloum
bf28274d44
* fixed a bug in fldenominator
...
* added a file rationalize.ss that has the seed for the rationalize
function
2007-09-11 02:06:26 -04:00
Abdulaziz Ghuloum
e8f05ac4b7
* Added truncate and fltruncate
2007-09-11 00:22:23 -04:00
Abdulaziz Ghuloum
79b6e46cab
* Added bytevector clause for equal?
...
* exported real? (number? really until complex nums are added).
2007-09-11 00:13:10 -04:00
Abdulaziz Ghuloum
3ecf53f9fd
* Added flexp
2007-09-10 23:36:36 -04:00
Abdulaziz Ghuloum
ad3f96d2ad
* Added flnumerator and fldenominator
2007-09-10 23:30:17 -04:00
Abdulaziz Ghuloum
1c86a105c5
* Added flceiling, flfloor, and fixed rounding bug in flround and
...
round
2007-09-10 23:17:06 -04:00
Abdulaziz Ghuloum
cb94cf88b2
* Added fleven? and flodd?
2007-09-10 22:45:41 -04:00
Abdulaziz Ghuloum
fa63e8723c
* Added flfinite?, flinfinite?, and flnan?
...
* Fixed a bug that caused all nans to print as -nan.0
2007-09-10 22:10:19 -04:00
Abdulaziz Ghuloum
a366a5f20f
* Added flinteger? and fixed a bug in integer? when the argument is
...
1.0.
2007-09-10 20:47:17 -04:00
Abdulaziz Ghuloum
eeac68352a
* Added partition
2007-09-10 17:28:06 -04:00
Abdulaziz Ghuloum
dd968d389d
* Added find.
2007-09-10 17:09:19 -04:00
Abdulaziz Ghuloum
66541809e1
* Added filter.
2007-09-10 17:03:40 -04:00
Abdulaziz Ghuloum
4b83f21480
* Added remq, remp, remv, and remove
2007-09-10 16:33:05 -04:00
Abdulaziz Ghuloum
fc67c0e155
* Added remp and assp
2007-09-10 15:56:15 -04:00
Abdulaziz Ghuloum
009a25ad30
* Added endianness and native-endianness
2007-09-10 15:15:20 -04:00
Abdulaziz Ghuloum
64b06d698b
* Added bytevector-s16-native-set! and bytevector-s16-set!.
2007-09-10 14:58:37 -04:00
Abdulaziz Ghuloum
9d478bc6b4
* Added bytevector-u16-native-set! and bytevector-u16-set!
2007-09-10 14:47:29 -04:00
Abdulaziz Ghuloum
e273953b39
* Added bytevector-s16-ref and bytevector-s16-native-ref.
2007-09-10 14:24:35 -04:00
Abdulaziz Ghuloum
3e4c7150f6
* Added bytevector-u16-native-ref and bytevector-u16-ref
2007-09-10 14:10:37 -04:00
Abdulaziz Ghuloum
18b4a78045
* Added vector-sort!
2007-09-09 23:58:00 -04:00
Abdulaziz Ghuloum
375b738ccb
* Added vararg case for for-each.
2007-09-09 23:50:55 -04:00
Abdulaziz Ghuloum
2692897900
* list* is gone. All references renamed to cons*.
2007-09-09 23:41:12 -04:00
Abdulaziz Ghuloum
7b66d9af6b
* Added cons*
2007-09-09 23:31:19 -04:00
Abdulaziz Ghuloum
a99c8d5461
* reimplemented (quasisyntax body) by expanding it to
...
(syntax-case (list expr* ...) ()
[(var? ...) #'body])
where expr* are the unquoted expressions and var? are the
generated names that are simultaneously inserted in body.
2007-09-09 23:08:26 -04:00
Abdulaziz Ghuloum
8aecc96b76
* readded src/ikarus.hash-tables.ss
2007-09-09 21:16:07 -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
123e2f9e10
* pretty-print now properly detects and prints cyclic and shared
...
data structures
2007-09-05 20:18:45 -04:00
Abdulaziz Ghuloum
d1db554eee
* removed some junk that was not used (string handling stuff) from
...
pretty-print
2007-09-05 02:41:12 -04:00
Abdulaziz Ghuloum
8f9aa2cd18
* Interrupts now work, again
2007-09-05 01:47:57 -04:00
Abdulaziz Ghuloum
1a8af2acea
* string<?, string<=?, string>?, and string>=? now have proper
...
annotations
2007-09-04 21:01:30 -04:00
Abdulaziz Ghuloum
62e1527d1d
* Globally visible procedures now have attached names:
...
Ikarus Scheme (Build 2007-09-04)
Copyright (c) 2006-2007 Abdulaziz Ghuloum
> car
#<procedure car>
> (car 1 2)
Error in apply: incorrect number of argument (2) to #<procedure car>.
> ^D
2007-09-04 20:38:16 -04:00
Abdulaziz Ghuloum
b3f80f0dc9
* exported identifiers bound to procedures get their procedure
...
annotation set to the name of the exported variable
2007-09-04 20:33:21 -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
a291ed8ffb
* Added list-sort and vector-sort.
2007-09-04 12:56:40 -04:00
Abdulaziz Ghuloum
cb40f0ae3c
* disp-bytevector-data changed to 8.
2007-09-04 01:40:31 -04:00
Abdulaziz Ghuloum
b5d3ceebe4
* Added char-general-category and a category lookup table.
2007-09-03 04:42:46 -04:00
Abdulaziz Ghuloum
ad1c469ffb
Added inexact?
2007-09-03 00:34:53 -04:00
Abdulaziz Ghuloum
0bbbcf9604
* Added missing string<?, string<=?, string>?, and string>=?
...
* Added string-ci=?, string-ci<?, string-ci<=?, string-ci>?, and
string-ci>=?
2007-09-03 00:17:15 -04:00
Abdulaziz Ghuloum
aa9f5e3ad1
* reader now accepts string escape sequences like "\xDF;".
2007-09-02 22:37:24 -04:00
Abdulaziz Ghuloum
89786ff4d0
* Added flsin, flcos, fltan, flasin, flacos, flatan procedures.
2007-09-02 21:16:54 -04:00
Abdulaziz Ghuloum
6ff9e3dc9c
Added fixnum->flonum
2007-09-02 21:02:06 -04:00
Abdulaziz Ghuloum
46193467c5
Added asin, acos, and tan
2007-09-02 20:57:02 -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
d785d40935
Added (assert expr) macro
2007-09-02 20:48:59 -04:00
Abdulaziz Ghuloum
592b62cfe7
* Added (null-environment 5) procedure.
2007-09-02 03:09:29 -04:00
Abdulaziz Ghuloum
21cdfd412b
* (ikarus null-environment-5) is populated with the r5rs syntactic
...
forms.
2007-09-02 03:02:53 -04:00
Abdulaziz Ghuloum
f351cc9a5b
* Added (ikarus null-environment-5) library.
2007-09-02 02:57:56 -04:00
Abdulaziz Ghuloum
a471e1a150
* Added delay and force.
2007-09-02 02:47:50 -04:00
Abdulaziz Ghuloum
9e066f4d4c
* Added vector-fill! and string-fill!
...
* Fixed a bug in (string 10) returning an uninitialized string.
2007-09-02 02:22:23 -04:00
Abdulaziz Ghuloum
d515520bd7
* Added make-variable-transformer procedure.
2007-09-02 02:03:29 -04:00
Abdulaziz Ghuloum
7a3a984653
* Added quasisyntax (code mostly a copy of quasiquote).
...
* Fixed a bug in syntax-dispatch that caused datums from the input
to be converted, incorrectly, to wrapped syntax objects.
2007-09-02 01:16:14 -04:00
Abdulaziz Ghuloum
94df957775
added:
...
src/ikarus.hash-tables.guardians.ss
src/ikarus.hash-tables.rehashing.ss
2007-09-01 23:07:39 -04:00
Abdulaziz Ghuloum
4b7f3a0258
collect-key now returns a gensym
2007-09-01 16:09:56 -04:00
Abdulaziz Ghuloum
77b3fd5225
* (time <>) now reports user and sys times as well.
2007-09-01 01:25:39 -04:00
Abdulaziz Ghuloum
e5f7329d4d
* changed implementation of guardians in ikarus.guardians.ss
2007-09-01 01:12:42 -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
6d1578eef5
* Added $collect-key primitive that gets/sets the collect-key field
...
of pcb.
2007-08-30 22:02:25 -04:00
Abdulaziz Ghuloum
a09da8f581
* Added (random fx) procedure.
2007-08-30 21:50:58 -04:00
Abdulaziz Ghuloum
eabfc3fe4f
* Added macro writer for #` #, and #,@ forms.
2007-08-30 20:30:21 -04:00
Abdulaziz Ghuloum
1864ca830b
* Added quasisyntax, unsyntax, unsyntax-splicing reader macros.
2007-08-30 20:17:23 -04:00
Abdulaziz Ghuloum
3820bffee3
Added unquote, unquote-splicing, unsyntax, unsyntax-splicing
2007-08-30 20:12:38 -04:00
Abdulaziz Ghuloum
a324572bc0
Added (r6rs eval) library
2007-08-30 19:40:01 -04:00
Abdulaziz Ghuloum
d2419aca42
Better status report for time-it
2007-08-30 17:25:29 -04:00
Abdulaziz Ghuloum
2371c5a776
time now shows gc portion
2007-08-30 13:16:06 -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
a13ad99195
* Better error message for applying unbound vars.
2007-08-29 00:51:24 -04:00
Abdulaziz Ghuloum
a20884c16b
* applying unbound ids no longer segfaults
2007-08-29 00:38:24 -04:00
Abdulaziz Ghuloum
84d188451c
* Applying non-procedure library variables no longer segfaults.
2007-08-29 00:21:29 -04:00
Abdulaziz Ghuloum
1ca0e11fb3
Added $set-symbol-proc!
2007-08-28 23:49:50 -04:00
Abdulaziz Ghuloum
f83af98967
added:
...
src/ikarus.unicode-data.ss
2007-08-28 21:36:34 -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
e1e2673ad7
* fixed a bug in the code generator for assigning the dirty vector
...
when the address of the pointer is "negative".
2007-08-28 19:47:14 -04:00
Abdulaziz Ghuloum
efb59a4f46
Added exact, inexact
2007-08-28 18:15:27 -04:00
Abdulaziz Ghuloum
bbe077cd5f
* Added floor
...
* exported negative?
2007-08-28 17:45:54 -04:00
Abdulaziz Ghuloum
d1221276b9
Added vector-for-each
2007-08-28 17:24:53 -04:00
Abdulaziz Ghuloum
5321868952
Added vector-map
2007-08-28 15:37:51 -04:00
Abdulaziz Ghuloum
e2ca2dffb2
Added boolean=? and symbol=?
2007-08-28 15:03:21 -04:00
Abdulaziz Ghuloum
2b6a3ef715
Added string-copy
2007-08-28 12:46:12 -04:00
Abdulaziz Ghuloum
86a28c3822
Added =>, else, and _ aux macros
2007-08-28 12:39:54 -04:00
Abdulaziz Ghuloum
905b6c96c6
Added ... auxilary kwd
2007-08-28 11:34:13 -04:00
Abdulaziz Ghuloum
8e4adec147
renamed:
...
src/r6rs-todo.ss => src/todo-r6rs.ss
2007-08-28 11:11:12 -04:00
Abdulaziz Ghuloum
d0eef4c3c4
* Added command-line
2007-08-26 21:24:22 -04:00
Abdulaziz Ghuloum
7bb5eab307
* Added delete-file.
2007-08-26 20:04:00 -04:00
Abdulaziz Ghuloum
1135803c81
* Categorised what needs to be done in r6rs-todo.ss
2007-08-26 18:51:16 -04:00
Abdulaziz Ghuloum
bd5707b013
* finished listring all r6rs-todo identifiers.
2007-08-26 15:43:18 -04:00
Abdulaziz Ghuloum
c6f08db761
* Added an r6rs-todo.ss list.
2007-08-26 14:03:25 -04:00
Abdulaziz Ghuloum
d8b81869c9
* $port-output-index, $port-output-size, $set-port-output-index! and
...
$set-port-output-size! are gone.
2007-08-25 11:24:05 -04:00
Abdulaziz Ghuloum
023d0831d7
* Removed $port-input-index, $port-input-size,
...
$set-port-input-index! and $set-port-input-size!
2007-08-25 11:06:30 -04:00
Abdulaziz Ghuloum
c5530973d0
* Added $port-buffer, $port-index, $port-size, $set-port-index!, and
...
$set-port-size!. Next step is removing the input/output-specific
accessors and mutators.
2007-08-25 10:49:39 -04:00
Abdulaziz Ghuloum
33c087a867
* Stack overflow is reinstated. fibc and other call/cc intensive
...
benchmarks now work.
2007-07-13 13:54:25 +03:00
Abdulaziz Ghuloum
61edf6d5a2
* Removed the collection of open-coded primititives in compiler.ss
2007-07-13 13:23:54 +03:00
Abdulaziz Ghuloum
598d7ae99c
* r6rs.records.procedural is almost done.
2007-07-05 16:59:06 +03:00
Abdulaziz Ghuloum
054e076651
* Fixed a bug in ratnum multiplication.
2007-07-05 11:48:40 +03:00
Abdulaziz Ghuloum
22d15fe6da
* Added an inthash function to primops.
2007-07-04 17:42:18 +03:00
Abdulaziz Ghuloum
a6302bc57d
added:
...
src/lab/
src/lab/ikarus.r6rs.records.procedural.ss
src/lab/ikarus.r6rs.records.syntactic.ss
These are nonworking versions of r6rs records facility
2007-06-27 13:15:51 +03:00
Abdulaziz Ghuloum
327de19e3b
* Added fft benchmark.
2007-06-18 18:04:02 +03:00
Abdulaziz Ghuloum
dd1634e755
* $fixnum->flonum now works.
2007-06-18 14:29:39 +03:00
Abdulaziz Ghuloum
d3b2ee35f3
* Added $fixnum->flonum (not working yet)
2007-06-18 14:06:13 +03:00
Abdulaziz Ghuloum
cb4752df99
* Added flmax
2007-06-18 13:06:19 +03:00
Abdulaziz Ghuloum
d04b4f4be8
* Added flround.
2007-06-18 13:01:45 +03:00
Abdulaziz Ghuloum
baafbed761
* Added (r6rs i/o simple) library
2007-06-18 02:57:32 +03:00
Abdulaziz Ghuloum
ab6162d2a7
* Added string-foldcase and string-ci=? (inefficiently)
2007-06-18 02:49:40 +03:00
Abdulaziz Ghuloum
551e5aa088
* Case-insensitive char cmp functions added.
2007-06-17 17:51:47 +03:00
Abdulaziz Ghuloum
94fb15620f
* Added (r6rs unicode) library.
2007-06-17 17:30:15 +03:00
Abdulaziz Ghuloum
df9ef4849d
* Added char-downcase, char-upcase, char-titlecase, and char-foldcase
2007-06-17 17:20:19 +03:00
Abdulaziz Ghuloum
e28c1a6de7
* Added unicode-char-cases file to the unicode directory that
...
contains char-downcase, char-upcase, char-titlecase, and
char-foldcase tables.
2007-06-17 15:04:01 +03:00
Abdulaziz Ghuloum
1750aba832
* The CODE/digit assembly helper now accepts imm,imm memory reference.
2007-06-16 12:08:38 +03:00
Abdulaziz Ghuloum
6d8c626017
* Fixed a bug in (fl/ x) not inverting its argument.
2007-06-16 09:59:39 +03:00
Abdulaziz Ghuloum
e51def62c1
* Fixed bugs in the just-added $fp comparison primitives.
2007-06-15 12:38:30 +03:00
Abdulaziz Ghuloum
3f3767800d
* Added $fl=, $fl<, $fl>, $fl<=, $fl>= primops.
2007-06-15 12:19:28 +03:00
Abdulaziz Ghuloum
3acdcb6c04
* Added native support for $fl+, $fl-, $fl*, $fl/
2007-06-15 08:53:34 +03:00
Abdulaziz Ghuloum
f1674cbaef
* renamed benchmarks directories.
...
renamed:
benchmarks => benchmarks.larceny
benchmarks/new => benchmarks
2007-06-14 20:26:38 +03:00
Abdulaziz Ghuloum
96851f8285
* Fixed a bug that causes (- 0.0) to be 0.0 instead of -0.0.
2007-06-14 20:11:58 +03:00
Abdulaziz Ghuloum
b6779a0f87
* Added flonum fasl reader.
2007-06-14 19:48:57 +03:00
Abdulaziz Ghuloum
f147e391eb
* Added flonum, ratnum, and bignum fasl writers.
2007-06-14 19:38:00 +03:00
Abdulaziz Ghuloum
e061dcd504
* Reader for ratnums implemented.
2007-06-14 19:21:26 +03:00
Abdulaziz Ghuloum
b2582e731c
* Reader for flonums is implemented.
2007-06-14 18:56:47 +03:00
Abdulaziz Ghuloum
ec5317bea0
* Added nucleic benchmark.
2007-06-13 18:17:21 +03:00
Abdulaziz Ghuloum
e76047cb47
* Added list-tail.
2007-06-13 17:42:04 +03:00
Abdulaziz Ghuloum
0c62d5bee8
* Added abs.
2007-06-13 16:48:05 +03:00
Abdulaziz Ghuloum
973595a93f
* exported call-with-output-file.
2007-06-13 16:22:11 +03:00
Abdulaziz Ghuloum
48c80cbd9c
* Added flmin.
2007-06-13 14:16:03 +03:00
Abdulaziz Ghuloum
009d0b2fac
* Added flnegative?
2007-06-13 14:11:39 +03:00
Abdulaziz Ghuloum
0f910c431f
* Added flzero?
2007-06-13 14:08:12 +03:00
Abdulaziz Ghuloum
89fd9d0a23
* Added flsqrt.
2007-06-13 14:00:29 +03:00
Abdulaziz Ghuloum
ded64db389
* Added fl/.
2007-06-13 13:50:19 +03:00
Abdulaziz Ghuloum
dc046a3092
* exported call-with-input-file.
2007-06-13 13:36:43 +03:00
Abdulaziz Ghuloum
817851f3d2
* defined fl*.
...
* fixed a bug in the identitity of fl+.
2007-06-13 13:15:52 +03:00
Abdulaziz Ghuloum
2dad5b473e
* exported odd?
2007-06-13 13:10:54 +03:00
Abdulaziz Ghuloum
9b0d2143a3
* exported even?
2007-06-13 13:01:21 +03:00
Abdulaziz Ghuloum
6441235594
* exported modulo (incomplete).
2007-06-13 12:58:48 +03:00
Abdulaziz Ghuloum
01f12f135a
* Added the round procedure
2007-06-13 12:40:29 +03:00
Abdulaziz Ghuloum
3edcc64121
* Added exact?
2007-06-13 12:05:24 +03:00
Abdulaziz Ghuloum
97dfd0ddcf
* Added min.
2007-06-13 11:55:37 +03:00
Abdulaziz Ghuloum
88d8e198fc
* Added the rest of fl=? fl<? fl<=? fl>? fl>=?
2007-06-13 11:53:52 +03:00
Abdulaziz Ghuloum
adb65c1b84
* Added expt to (r6rs)
...
* Added fl+ and fl-.
2007-06-13 11:47:30 +03:00
Abdulaziz Ghuloum
3fb701187e
* Added (r6rs arithmetic flonums) library containing fl<? only
2007-06-13 11:37:22 +03:00
Abdulaziz Ghuloum
352d0f54dd
* Added write-char to (r6rs) library.
2007-06-13 10:36:11 +03:00
Abdulaziz Ghuloum
f3166040a0
* Addd (r6rs mutable-pairs) library.
2007-06-13 10:26:51 +03:00
Abdulaziz Ghuloum
9bd65cc447
* Fixed rational? and integer? to handle flonums properly.
2007-06-13 09:03:30 +03:00
Abdulaziz Ghuloum
83c7fe71b8
* Fixed two bugs in the ratnum case of mk< procs.
2007-06-13 06:04:08 +03:00
Abdulaziz Ghuloum
5f1b44106a
* removed the 3-arg dispatch in the generic =, <,, <=, >, >=
2007-06-12 17:32:25 +03:00
Abdulaziz Ghuloum
f05f8965d6
* string-to-number now understands:
...
- #e #E #i #I prefixes
- decimal notation
- exponents
2007-06-12 03:57:35 +03:00
Abdulaziz Ghuloum
e1d0d4aca6
* subtraction (-) now understands ratnums.
2007-06-12 02:49:27 +03:00
Abdulaziz Ghuloum
ca257870ce
* bignum->flonum now handles large floats properly by converting
...
them to +inf.0 and -inf.0.
2007-06-12 02:25:13 +03:00
Abdulaziz Ghuloum
b01e289798
* Numeric comparison functions =, <, <=, >, >= now understand
...
ratnums.
2007-06-11 11:59:11 +03:00
Abdulaziz Ghuloum
90feb453f5
* Added tests for bignum->flonum.
2007-06-10 20:32:48 +03:00
Abdulaziz Ghuloum
cde508d58c
* reimplemented bignum->flonum in Scheme now. ikrt_bignum_to_flonum
...
is no longer used.
2007-06-10 20:21:41 +03:00
Abdulaziz Ghuloum
9a31a8f0d3
* Added $make-flonum and $flonum-set! prims.
2007-06-10 12:09:01 +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
a596550e97
* Added log.
2007-06-10 07:37:30 +03:00
Abdulaziz Ghuloum
d88126aea1
* Added inexact->exact
2007-06-10 07:35:39 +03:00
Abdulaziz Ghuloum
0480517615
* Added floor/ceiling.
2007-06-10 07:32:19 +03:00
Abdulaziz Ghuloum
6712e9490b
* Fixed two bugs in $ratnum-n and $ratnum-d
2007-06-08 10:30:25 +03:00
Abdulaziz Ghuloum
3798fd932a
* Added ratnum cases to binary*.
2007-06-08 10:18:36 +03:00
Abdulaziz Ghuloum
b859c05bd6
* Added (flonum-u8-ref x k) where x is a flonum, k is a fixnum in
...
between 0 and 7, and returns byte k in the flonum data structure.
k is a logical index in an IEEE number with the structure:
[s][11-bit-biased-expo] [52-bit-mantissa==================]
[ k = 0 ] [ k = 1 ] [k=2] [k=3] [k=4] [k=5] [k=6] [k=7]
2007-06-08 09:15:25 +03:00
Abdulaziz Ghuloum
9c458d4ba7
* reinstalled exact->inexact
2007-06-08 09:10:18 +03:00
Abdulaziz Ghuloum
cd788e4bed
* Added (ikarus system $flonums) library (empty).
2007-06-08 09:07:02 +03:00
Abdulaziz Ghuloum
f3e5772e76
* Added bref to assembler
...
* Fixed bug in bytevector-s8-ref
2007-06-08 08:54:10 +03:00
Abdulaziz Ghuloum
a27c6e13a9
* fixed a HUGE bug in optimize-letrec.
...
* fixed two minor bugs in the code generators for - and +
* added a constant-folder for "length"
2007-06-06 10:14:07 +03:00
Abdulaziz Ghuloum
ae0b25ae9f
* do-spill now removes spilled vars from neighbors of conflicting
...
vars.
2007-06-06 09:24:32 +03:00
Abdulaziz Ghuloum
0db57fbb69
* removed the reg? argument to build-graph. Reg? was needed when
...
build-graph was used for constructing both frame conflicts and
register conflicts. Now, it's only used for register conflicts so
reg? is no longer needed.
2007-06-06 06:10:28 +03:00
Abdulaziz Ghuloum
01658fe195
removed libcogen1.ss which was not used by the compiler.
2007-06-06 05:38:02 +03:00
Abdulaziz Ghuloum
39e6fc2fcf
* removed more junk.
2007-06-06 03:11:12 +03:00
Abdulaziz Ghuloum
665f3a0b79
* removed old one-pass compiler. chaitin is now the default
...
backend
2007-06-06 02:57:48 +03:00
Abdulaziz Ghuloum
563f32c16f
* swapped core-compile-expr and alt-core-compile-expr
2007-06-06 02:48:09 +03:00
Abdulaziz Ghuloum
7301be0ab0
* removed one instance of build-graph which reduces compile time
...
from 225 secs down to 17! Sweet!
2007-06-06 02:32:45 +03:00
Abdulaziz Ghuloum
feb9764645
* Cleanup of some junk code in color-by-chaitin
2007-06-06 01:16:34 +03:00
Abdulaziz Ghuloum
1dc9e83448
* Altcogen works. Need to rethink how to code the conflict graphs.
2007-06-04 02:55:04 +03:00
Abdulaziz Ghuloum
a5dbb8f45d
* Can load altcogen.
2007-06-03 04:55:40 +03:00
Abdulaziz Ghuloum
6279bc7c47
* alt-compile-core-expr-to-port is now exported from (ikarus compiler)
2007-06-02 10:26:06 +03:00
Abdulaziz Ghuloum
ca248be49a
* Libraries can export modules now.
...
* libaltcogen can now be loaded.
2007-06-02 10:21:05 +03:00
Abdulaziz Ghuloum
b7b3709f69
* Added (import M) for M \in modules.
2007-06-02 05:59:55 +03:00
Abdulaziz Ghuloum
d2657bde24
* Added basic identifier-syntax (one that does not recognize the
...
set! case).
2007-06-02 05:43:24 +03:00
Abdulaziz Ghuloum
af9798e9be
* Better handling of multi-byte read-char.
2007-06-02 05:17:22 +03:00
Abdulaziz Ghuloum
ee738a9a62
* somewhat fixed the ugly syntax-error message in syntax.ss
2007-05-22 20:21:22 -04:00
Abdulaziz Ghuloum
cd1de33b91
* Added let-syntax and letrec-syntax.
2007-05-22 19:59:30 -04: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
Abdulaziz Ghuloum
890dd348b2
* fasl files now may contain ascii strings as a special type in
...
order to reduce the size of the fasl file. Gains: reduces the
size of the current boot file from 2.9M down to 2.5M.
2007-05-21 23:09:45 -04:00
Abdulaziz Ghuloum
9f1e3dcb0b
* Added numerator and denominator.
2007-05-21 19:54:36 -04:00
Abdulaziz Ghuloum
b1a6668060
* Added lcm.
2007-05-21 19:49:23 -04:00
Abdulaziz Ghuloum
e78c0f3a78
* Added gcd
2007-05-21 19:35:16 -04:00
Abdulaziz Ghuloum
23769d5b09
* Added ratnum? to (ikarus).
...
* Modified some definitions of the numeric predicates to recognize
ratnums.
2007-05-20 23:23:54 -04:00
Abdulaziz Ghuloum
67765257cf
* Added (ikarus system $ratnums) library.
2007-05-20 22:52:11 -04:00
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