Commit Graph

231 Commits (03114a65c95466a183a3a607efa39c43ffeffa8d)

Author SHA1 Message Date
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
Slava Pestov 1bd8176b4a New tools.test.inference vocabulary with unit-test-effect word 2007-11-15 17:29:00 -05:00
Slava Pestov 77cbc56873 Update x86.32 backend for profiler changes 2007-10-29 01:17:44 -05:00
U-SLAVA-FB3999113\Slava 8b54248c50 Get core unit tests to pass without number tower 2007-10-14 21:13:42 -04:00
U-SLAVA-FB3999113\Slava e9b42fa635 Move more math stuff to extra/, get compiler to work without ratios/complex numbers 2007-10-14 20:38:23 -04:00
Slava Pestov c84ba1d76b Fix define-transform bug 2007-10-10 01:53:55 -04:00
Slava Pestov 5ef378d12f Add some unit tests 2007-10-09 02:06:48 -04:00
Slava c644f21daf Fix find-template regression: many intrinsics were not open-coded on x86 2007-10-09 01:30:35 -04:00
Slava Pestov aab17e88be Uncomment unit test which doesn't fail anymore 2007-10-05 15:25:44 -04:00
Slava Pestov 88168656dd Another compiler fix 2007-10-01 06:56:45 -04:00
Slava Pestov 0035d42762 Alien intrinsics can now deal with all aliens not just simple ones 2007-10-01 04:20:47 -04:00
Slava Pestov 304242bf5c New unit test which fails on PowerPC 2007-09-30 16:20:07 -04:00
Slava Pestov 894a657056 Alien unboxing 2007-09-29 19:43:03 -04:00
Slava Pestov f7c2c9e441 Working on improved alien intrinsics 2007-09-28 04:02:33 -04:00
Slava Pestov 3995a5c824 Cleanups 2007-09-28 00:26:58 -04:00
Slava Pestov 118772b634 Cleaning up generator.registers 2007-09-27 21:23:24 -04:00
Slava Pestov 480e6a8b2b Clean up generator.registers a bit 2007-09-27 17:30:34 -04:00
U-C4\Administrator 4e36ccde5a Merge git://spitspat.com/git/factor
Conflicts:

	core/compiler/test/intrinsics.factor
	vm/cpu-x86.h
2007-09-27 15:13:23 -05:00
U-C4\Administrator 9a0ac0e975 Attempt to merge in changes
F_FASTCALL
2007-09-27 15:10:37 -05:00
U-3ADF\Administrator dcaee61e0e Unit tests would fail if malloc failed (e.g. when it's not compiled) 2007-09-26 19:40:32 +02:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00