Commit Graph

270 Commits (ddc5ece75710c25138a2a11a5e57717fd94643d2)

Author SHA1 Message Date
Slava Pestov 4fd1767768 Old fix for classes-intersect? no-method bug was incorrect; we were
ignoring anonymous classes in compiled-generic-crossref. Also,
forget* now calls reset-word so that references to predicates of
forgotten classes don't break the compiler with a similar error.
2008-11-05 18:32:02 -06:00
Slava Pestov cc94894441 Fix notorious classes-intersect? bug, or at least one manifestation thereof. Turns out that we may temporarily end up with forgotten classes in the compiled-generic-crossref table. This is not a problem, since subsequently the words that reference forgotten classes will presumably be redefined and recompiled, but it does mean that (compiled-generic-usage) does need to handle this case 2008-11-04 03:38:44 -06:00
Slava Pestov cdb5c30bd3 Only build a generic word once, even if a compilation unit defines several methods on it, by adding generics to a set and building them at the end. 25% improvement on bootstrap time 2008-11-03 03:51:28 -06:00
Slava Pestov 673fda2281 Fix bogus error message 2008-11-02 03:10:27 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Slava Pestov d12f55be31 Fix unit test failure in compiler 2008-09-03 17:24:06 -05:00
Slava Pestov 5792783760 Fix dodgy method overloading 2008-08-31 05:19:16 -05:00
Slava Pestov f5fbd94a4c New compiled crossref implementation 2008-08-31 01:34:00 -05:00
Slava Pestov 86e04a81dc Fix conflict 2008-08-30 02:32:17 -05:00
Slava Pestov 3cef7c9992 Smarter usage tracking system 2008-08-30 02:31:27 -05:00
Slava Pestov b3f3068bdc Massive focused action #1 2008-08-30 00:09:45 -05:00
Slava Pestov 85cdb1b767 Working on new compiled usage strategy; old one was wrong 2008-08-30 00:05:27 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00
Slava Pestov f64f55ba22 Fix test failures 2008-07-16 01:03:41 -05:00
Slava Pestov a876005c98 Clean up non optimizing compiler, rewrite more primitives in assembly 2008-07-11 17:25:46 -05:00
Slava Pestov 5ba6a0c56d Comment out reload tests for now 2008-07-07 10:50:42 -05:00
Slava Pestov 2831cb8d9b Tweaking docs, change stage2 to load less stuff 2008-07-03 01:39:45 -05:00
Slava Pestov aeb2b9d701 Fixing unit test failures 2008-07-02 15:57:38 -05:00
Slava Pestov eb6a1de4a1 Some cleanup 2008-07-01 20:19:03 -05:00
Slava Pestov 58159095ee Fix load-everything 2008-06-30 16:06:14 -05:00
Slava Pestov dea3604264 Remove some usages of deprecated features 2008-06-30 05:22:05 -05:00
Slava Pestov 77c4d97785 Some unit test fixes 2008-06-30 03:57:00 -05:00
Slava Pestov b36e06d0d6 Builtinn types now use new slot accessors; tuple slot type declaration work in progress 2008-06-28 02:36:20 -05:00
slava 9d15cb9328 Remove old debugging code 2008-06-25 20:46:52 -05:00
Slava Pestov c95851e34f Bug fixes and cleanups 2008-06-11 02:58:38 -05:00
Slava Pestov 29fa4a8a54 assoc-find is no longer generic 2008-06-09 05:22:21 -05:00
Slava Pestov ba8f1388ab Fixing everything for mandatory stack effects 2008-06-09 02:14:14 -05:00
Slava Pestov 9dd5c9919f Mandatory stack effect annotations 2008-06-08 15:32:55 -05:00
Slava Pestov 014d2ea31c Cleaning up and debugging corss-referencing 2008-06-06 20:47:09 -05:00
Slava Pestov ec71ee0940 Bug fixes 2008-05-28 19:34:18 -05:00
Slava Pestov 1c10cb0ff1 Update for word renaming 2008-05-26 00:48:10 -05:00
Slava Pestov 5cb13132af adjoin and conjoin words added 2008-05-25 19:44:37 -05:00
Slava Pestov 8c8f5fdb2c Bigger decks and cards 2008-05-09 18:48:48 -05:00
Slava Pestov c035f86ca2 Revert large deck change for now, fix PowerPC write barrier 2008-05-09 17:30:32 -05:00
Slava Pestov a233349c1f Bigger cards and decks 2008-05-09 00:09:12 -05:00
Slava Pestov 739a75f2bb More efficient minor GC 2008-05-07 21:39:20 -05:00
Slava Pestov 0314d05a08 Cleanup compiler 2008-05-07 07:49:36 -05:00
Slava Pestov 75fb15ee4c Split stdio up into input-stream/output-stream, pipes work in progress 2008-05-05 02:19:25 -05:00
Doug Coleman 15402ed1b4 core changes:
index* -> index-from
last-index* -> last-index-from
1 tail -> rest
1 tail-slice -> rest-slice
subset -> filter
prepose
find* -> find-from
find-last* -> find-last-from
before, after generic, < for integers
make between? work for timestamps
2008-04-25 23:12:44 -05:00
Slava Pestov a3a0ce5bee Fixes 2008-04-20 06:15:08 -05:00
Slava Pestov 55f6636bc0 FFI string encoding conversion 2008-04-20 05:15:46 -05:00
Slava Pestov 0ae748d9ba Compiler fixes 2008-04-19 20:39:58 -05:00
Slava Pestov 4eb4542431 Add failing unit test 2008-04-17 03:03:22 -05:00
Doug Coleman 30b75a797a construct-boa -> boa
construct-empty -> new
2008-04-13 15:06:09 -05:00
Slava Pestov 615f7057e4 Omit tuple dispatch engines from usage listings 2008-04-12 19:05:06 -05:00
Doug Coleman bced4022e5 updating usages of cond/case 2008-04-11 12:53:22 -05:00
Slava Pestov 600740d68b Tweaks 2008-04-07 20:07:30 -05:00
Slava Pestov f7f43fa689 ABOUT: updates vocabulary 2008-04-05 07:00:09 -05:00
Slava Pestov b2cb88f497 GC: allocate large objects directly into tenured space 2008-04-05 04:01:46 -05:00
Slava Pestov 979d0b7dfe Fixing unit tests 2008-04-04 19:30:04 -05:00
Slava Pestov 48a6baedcd Convert compiler to use inheritance 2008-04-04 05:44:45 -05:00
Slava Pestov 82fc8f18db Converting core to use inheritance 2008-04-04 03:46:30 -05:00
Slava Pestov ef4046cda9 Converting code to use inheritance 2008-04-04 00:33:06 -05:00
Slava Pestov cfe1c5d39e Update unit test for word removal 2008-04-03 00:22:10 -05:00
Slava Pestov 5346e1899f Working on call-next-method, and identity-tuple 2008-04-02 21:27:49 -05:00
Slava Pestov fa8b578370 Rewriting method dispatch to support inheritance 2008-04-02 00:28:07 -05:00
Slava Pestov 6995e2adf5 Tuple reshaping now works with inheritance 2008-03-31 01:19:34 -05:00
Slava Pestov c22af5c7a6 Rename 2apply to bi@ 2008-03-29 20:36:58 -05:00
Slava Pestov febcd88459 Unit test fixes 2008-03-27 05:13:52 -05:00
Slava Pestov e1ad21a439 Working on shapes 2008-03-26 03:57:48 -05:00
Slava Pestov a614e2e8e4 Minor documentation updates 2008-03-20 21:55:40 -05:00
Slava Pestov 0d9947198c Bootstrap fixes 2008-03-19 21:41:39 -05:00
Doug Coleman d0b348591a path+, prepend 2008-03-19 19:15:43 -05:00
Slava Pestov 0ed8bfe276 Documentation updates 2008-03-13 03:44:58 -05:00
Slava Pestov 32526206f1 Help fixes 2008-03-11 19:51:58 -05:00
Slava Pestov e98cd1fd59 New convention for unit tests 2008-03-01 17:00:45 -05:00
Slava Pestov 84016a36c0 Regression fixes 2008-02-25 19:37:43 -06:00
Slava Pestov c01c527cb9 Fix potential memory leak 2008-02-25 05:50:51 -06:00
Slava Pestov a902349dc4 Fix overly long bootstrap time 2008-02-25 03:38:37 -06:00
Slava Pestov d2c5f28b65 Do tuple reshaping at the end of a compilation unit, preserving a consistent view of the heap to code running during compilation 2008-02-24 02:19:38 -06:00
Slava Pestov de8b804abe Fix method redefinition bug 2008-02-17 18:38:29 -06:00
Slava Pestov 0b19589630 linkage errors don't thwart compilation anymore 2008-02-16 00:54:54 -06:00
Slava Pestov 9a459d3c12 Updating unit tests 2008-02-14 20:27:48 -06:00
Slava Pestov d14ee13f64 Remove tail-dispatch? optimization since it was not sound 2008-02-14 17:46:04 -06:00
Slava Pestov d58dfd1b2d Branch hoisting work in progress 2008-02-13 13:31:43 -06:00
Slava Pestov 170aecb255 Loop optimization work in progress 2008-02-12 23:27:05 -06:00
Slava Pestov e66e6d70e4 Moved dispatch to sequences.private 2008-02-11 01:19:53 -06:00
Slava Pestov 81ac2f77f7 Fix name clash 2008-02-11 00:17:51 -06:00
Slava Pestov 262e9d3443 Clean up vocabs.loader and add littledan's unit test feature 2008-02-10 23:03:54 -06:00
Slava Pestov 637600011c FFI compile errors now reported separately; new kill literals phase design 2008-02-10 20:32:48 -06:00
Slava Pestov 9d1977eeee Obsolete file 2008-02-09 21:12:21 -06:00
Slava Pestov f655a25762 Fixing compiler test 2008-02-09 21:08:47 -06:00
Slava Pestov b14197fadc Remove obsolete files 2008-02-08 01:49:49 -06:00
Slava Pestov 52b5c5a068 Reorganize compiler tests 2008-02-08 01:48:51 -06:00
Slava Pestov 7cdcac3fc9 Add another unit test 2008-02-08 01:08:09 -06:00
Slava Pestov 5ecf3f7225 Improve unit test documentation and update some tests 2008-02-06 22:58:41 -06:00
Slava Pestov b18a463285 Better inlining heuristic 2008-02-06 14:59:53 -06:00
Slava Pestov be2c8b13d7 Rename unit-test-fails to must-fail and add must-fail-with to replace [ t ] [ [ ... ] catch ... ] unit-test idiom 2008-02-06 13:47:19 -06:00
Slava Pestov d9338b1cd2 Remove interned predicate class 2008-02-06 12:47:15 -06:00
Slava Pestov 548e6dce47 Fixing crossreferencing 2008-02-06 12:09:42 -06:00
Slava Pestov 2d3298d611 Method usages cleanup 2008-02-04 23:30:59 -06:00
Slava Pestov 2872bc9d30 More method cleanups 2008-02-04 19:38:31 -06:00
Slava Pestov dee25cda13 New generic word implementation reduces compile time 2008-02-04 16:20:07 -06:00
Slava Pestov e7722c02b7 Add unit test for float alignment 2008-02-03 17:28:57 -06:00
Slava Pestov 61a9adb2bb Remove a tab 2008-02-02 14:59:36 -06:00
Slava Pestov 2ef76798b0 record1 strings 2008-01-31 23:00:08 -06:00
Slava Pestov 6530057512 Starting work on record1 strings 2008-01-31 20:11:46 -06:00
Slava Pestov f77526714f Fix conflict 2008-01-31 00:54:44 -06:00
Slava Pestov 3b793b8474 (hashtable) is gone now 2008-01-30 14:23:21 -06:00
Daniel Ehrenberg 58668874ad Unit test for recompiling deferred words 2008-01-29 13:12:04 -06:00
Daniel Ehrenberg 9a897f91ff Fixing compiler bug with redefining deferred words 2008-01-28 19:09:49 -06:00
Slava Pestov b60edc199a Fix optimizer regression 2008-01-27 18:15:11 -04:00
Slava Pestov 1c91a286e5 Updating summary and authors 2008-01-27 01:02:31 -04:00
Slava Pestov 952f6ca363 Fix bootstrap for a different cell size 2008-01-26 23:47:52 -04:00
Slava Pestov 62ded50c8b Directory change notification work in progress. Only on Windows right now, blocking 2008-01-26 03:40:09 -04:00
Slava Pestov ecc0170afa Forgetting a word clears compiled usage 2008-01-24 03:20:05 -04:00
Slava Pestov 64d284a970 Fix recompilation of foldable, flushable 2008-01-21 17:30:10 -05:00
Slava Pestov 6499fe8f80 Fix unit tests again 2008-01-17 17:02:26 -05:00
Slava Pestov 6755e0f7ca Fix unit test 2008-01-17 16:36:25 -05:00
Slava Pestov c6bc074472 Simplify code heap layout 2008-01-16 15:45:04 -05:00
Slava Pestov 952c559b52 Faster compilation of dispatch primitive 2008-01-13 17:07:59 -05:00
Slava Pestov d54fc8172d Assorted fixes 2008-01-12 22:24:27 -05:00
Slava Pestov beeb4a90a1 Added unit tests 2008-01-12 21:39:22 -05:00
Slava Pestov c8d4846a03 Fix some compiled-usage issues 2008-01-12 04:25:16 -05:00
Slava Pestov 554a0d3877 Documentation updates 2008-01-11 03:32:25 -05:00
Slava Pestov d2222179c6 Clean up compiler.errors 2008-01-11 01:01:38 -05:00
Slava Pestov 542b85889d Fix unit tests 2008-01-09 19:13:26 -05:00
Slava Pestov c8360f5ae5 Rename curry* to with 2008-01-09 17:36:30 -05:00
Slava Pestov c738dee88e Smarter FORGET: 2008-01-09 17:57:59 -04:00
Slava Pestov ed29e2e5aa Notify definition-observers when words are forgotten 2008-01-09 17:51:55 -04:00
Slava Pestov 487abce510 Loading a vocab updates the browser if appropriate 2008-01-09 14:41:58 -04:00
Slava Pestov 3629ba7dcd Fixing bootstrap 2008-01-09 05:00:02 -05:00
Slava Pestov 3b311d3cb7 definition observers; move with-compilation-unit and related support to compiler.units 2008-01-09 04:52:08 -05:00
Slava Pestov 028e0075d8 PowerPC support work in progress 2008-01-09 01:33:40 -05:00
Slava Pestov c86e95bc30 Add some more compiled-usage tests 2008-01-02 23:08:28 -04:00
Slava Pestov b7327b6228 Redo the profiler 2008-01-02 20:36:36 -04:00
Slava Pestov e35ca18921 Working on compiled-usage 2008-01-01 15:54:14 -04:00
Slava Pestov 6922bded81 Speed up compile-call 2007-12-30 21:34:44 -05:00
Slava Pestov 78ae930a33 Documentation updates 2007-12-30 16:09:21 -05:00
Slava Pestov 8189e33b2b Remove compiler-hook which was just a workaround for the old batch compilation model 2007-12-30 15:05:33 -05:00
Slava Pestov 58da31c071 New implementation of compiler error reporting 2007-12-28 22:51:36 -05:00
Slava Pestov 52ae410cc5 Removing USE-IF:, add with-interactive-vocabs, other fixes 2007-12-28 21:45:16 -05:00
Slava Pestov 9c1454ef68 Rename real/imaginary slots of complex to real-part/imaginary-part to avoid clashing with the real class word; fix bug where redefining a generic as a class leaves the word in a weird state 2007-12-27 17:26:39 -05:00
Slava Pestov 58b2599593 Fix compiler 2007-12-26 21:37:18 -05:00
Slava Pestov 2a24567546 Work in progress 2007-12-26 20:21:46 -05:00
Slava Pestov 28d6fec557 Getting compiler unit tests to pass 2007-12-24 21:54:45 -05:00
Slava Pestov bbb89af5a6 Get compiler going again, start re-doing redefine tests 2007-12-24 21:41:46 -05:00
Slava Pestov 7c75697ff3 Assorted fixes 2007-12-24 20:56:23 -05:00
Slava Pestov 6814e07f49 Unit test fixes 2007-12-24 19:40:09 -05:00
Slava Pestov e2c86aab4d Remove dead code 2007-12-24 17:33:04 -05:00
Slava Pestov 41fc4ea84e forget-vocab and forget-source now call with-compilation-unit 2007-12-24 17:32:41 -05:00
Slava Pestov 07a4022d62 Parser, definitions, source-files refactoring work in progress 2007-12-21 21:18:24 -05:00
Slava Pestov 6636a75a8a Move experimental code to core/compiler/ 2007-12-19 20:55:40 -05:00
Slava Pestov 308cf5aef7 Listener auto-compiles; more smart recompile work in progress 2007-12-17 16:29:54 -05:00
Slava Pestov 43dd703981 Simplifying the compiler and parser a little bit 2007-12-16 20:35:00 -05:00
Slava Pestov 3c5b2073ef Fix save-image-and-exit, clean up compiler a bit 2007-12-16 18:42:56 -05:00
Slava Pestov c9646d20c5 Working on smarter recompilation 2007-12-16 15:17:28 -05:00
Slava Pestov 9bbde3f60a Fix Linux/x86-64 signal handler problem 2007-12-08 23:26:35 -05:00
Slava Pestov ab8b15693f Minor compiler tweak; respect -quiet 2007-12-06 15:17:38 -05:00