Commit Graph

236 Commits

Author SHA1 Message Date
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
Abdulaziz Ghuloum d6c2d5dd66 * representation (tags) of bignums/flonums changed successfully. 2007-01-21 20:36:22 -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 96ad8a04a4 * flonum->string now always returns a string with a decimal point.
* number?, exact?, inexact?, ... now know about flonums.
* number->string also handles flonums, and so is the writer
  (automatically).
2007-01-20 18:12:12 -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 679af26761 * Added benchmarks from the larceny source distribution. 2007-01-20 14:32:30 -05:00
Abdulaziz Ghuloum a47856614f * The procedure member is now defined. 2007-01-20 00:09:11 -05:00
Abdulaziz Ghuloum c8111df150 * fixed bug in handling tcbuckets.
Summary of the bug:  
    if ik_alloc is called during gc, and if it causes a heap
    overflow, then the pages are deallocated before returning to
    scheme.
2007-01-19 18:13:44 -05:00
Abdulaziz Ghuloum 8b1236e031 * removed all dlink stuff from hash table. 2007-01-17 14:56:45 -05:00
Abdulaziz Ghuloum 13e8f76f13 * intermediate step:
gc has tcbucket_size=16
  compile allocates tcbucket_size=24
2007-01-17 14:34:25 -05:00
Abdulaziz Ghuloum 21f4ecb88d New pretty-printer now handles *pretty-format* semi-decently. 2007-01-15 02:44:45 -05:00
Abdulaziz Ghuloum 80bfa4f0ab removed docs from repository. 2007-01-13 22:34:40 -05:00
Abdulaziz Ghuloum 872a5e2e9e * Added even? and odd? primitives. 2007-01-13 22:32:54 -05:00