Commit Graph

521 Commits (a758328356fcea5c2859c84cb8bcafe0140c338e)

Author SHA1 Message Date
Slava Pestov a488ffbd11 x86 backend code cleanups 2005-01-07 02:42:07 +00:00
Slava Pestov 26f120adb8 new assembler; wrote a new asm primitives 2005-01-07 00:10:02 +00:00
Slava Pestov 70bf36080e line editor history 2005-01-04 05:41:14 +00:00
Slava Pestov 37f9fd2a2e line editing 2005-01-03 21:39:17 +00:00
Slava Pestov 10d467937f line editor 2005-01-03 07:55:54 +00:00
Slava Pestov 34d7d6eaef new ?ifte ?unless ?when combinators 2005-01-03 04:57:54 +00:00
Slava Pestov d0d1b3d4ec Some minor updates 2005-01-02 21:31:43 +00:00
Mackenzie Straight b871beabd1 Win32 IO fixes 2005-01-02 21:14:34 +00:00
Slava Pestov aa128f7257 unified method map 2005-01-01 23:02:23 +00:00
Slava Pestov 911b614351 minor cleanups, new map-with and each-with words 2005-01-01 22:20:48 +00:00
Slava Pestov f397fc951b move promises to kernel-internals 2004-12-31 23:51:34 +00:00
Slava Pestov 6159c82407 type check optimization is here 2004-12-31 07:17:45 +00:00
Slava Pestov 80b4d13a54 recursive type inference 2004-12-31 01:46:20 +00:00
Slava Pestov 8495d02a7a cleaner type inference 2004-12-30 07:40:14 +00:00
Slava Pestov 90873c9a2d see works with generics 2004-12-29 23:01:23 +00:00
Slava Pestov 81705a955d type inference changes, comment out smart-terminal reference in win32-console, win32-compatible factor plugin 2004-12-29 08:35:46 +00:00
Mackenzie Straight d632a1dfc7 Minor cleanups; fix copyright notices 2004-12-29 07:16:03 +00:00
Slava Pestov b97f362201 hashcodes are now fixnums, added debug.c 2004-12-28 05:04:20 +00:00
Slava Pestov 423ac5a947 hash tables cons less 2004-12-28 03:58:43 +00:00
Slava Pestov 9669067924 partial evaluation of branches 2004-12-27 20:27:18 +00:00
Mackenzie Straight 97d77d0ecc Win32 sockets support 2004-12-27 11:56:05 +00:00
Mackenzie Straight 2701f1a34f Win32 IO updates 2004-12-27 02:40:45 +00:00
Slava Pestov 54d5f7838d console fix 2004-12-27 00:02:40 +00:00
Slava Pestov 7660f5ada9 graphical console; start factor with -graphical switch 2004-12-26 23:57:57 +00:00
Slava Pestov 7545de4992 added some keyboard-related SDL functions, SDL console 2004-12-26 23:52:58 +00:00
Slava Pestov 1322d3657c some experiments with type inference 2004-12-26 22:04:08 +00:00
Slava Pestov 4cb5714094 type propagation for ifte, and partial evaluation if branch taken is known 2004-12-26 07:52:39 +00:00
Slava Pestov b1953d4e0b started type propogation 2004-12-26 07:16:38 +00:00
Slava Pestov c908e1920a kernel errors a bit better, inference cleanup 2004-12-26 06:42:09 +00:00
Slava Pestov 25c2cd547c abi wrong 2004-12-26 03:15:37 +00:00
Slava Pestov 2f71a0a4f6 better error reporting 2004-12-26 02:28:47 +00:00
Slava Pestov 7092b10f2f minor stack inference fixes 2004-12-26 01:06:08 +00:00
Slava Pestov 54ff898359 FFI relocation 2004-12-25 23:08:20 +00:00
Slava Pestov 0deedd48f9 some FFI cleanups 2004-12-25 20:52:08 +00:00
Mackenzie Straight 4b92b047ed More Win32 IO work; FFI updates 2004-12-25 10:49:30 +00:00
Slava Pestov e06d3e29ac saving code to disk! 2004-12-25 07:55:03 +00:00
Slava Pestov 57134374c0 removed old effects 2004-12-24 22:29:16 +00:00
Slava Pestov 66ff0243b5 huge cleanup 2004-12-24 07:52:02 +00:00
Slava Pestov 6e24186be8 generic cleanups and type inference work 2004-12-24 04:55:22 +00:00
Slava Pestov 74b063e3ad fix object /\\ number 2004-12-23 23:46:21 +00:00
Slava Pestov 7101e12b33 more type inference work 2004-12-23 23:26:04 +00:00
Slava Pestov 94506de202 inference workaround 2004-12-23 21:58:33 +00:00
Slava Pestov 72c9f9a328 type inference work, and smart-term-hook 2004-12-23 21:37:16 +00:00
Mackenzie Straight 9591506f13 Started work on win32 IO rewrite 2004-12-23 11:51:42 +00:00
Slava Pestov 1683ff9b3c type inference work; class\/ and class/\ words 2004-12-23 07:14:40 +00:00
Slava Pestov 771527ed64 type inference work, and = for aliens 2004-12-23 06:14:07 +00:00
Slava Pestov 112d52e4d4 fix ffi 2004-12-23 03:30:50 +00:00
Slava Pestov 2909d9141a started type inference, and some bug fixes 2004-12-23 03:16:46 +00:00
Slava Pestov 3a242efb51 plugin fix; type-name word cleaned up 2004-12-20 20:29:55 +00:00
Slava Pestov cf5a90b3b7 fix ffi 2004-12-20 18:49:28 +00:00
Slava Pestov cc43f52bb8 values are now objects in inferencer 2004-12-20 03:53:41 +00:00
Slava Pestov f9ba944fde string>memory and memory>string primitives 2004-12-20 02:07:17 +00:00
Slava Pestov 8b0949dd8b improved factor plugin 2004-12-20 00:36:10 +00:00
Slava Pestov 12a09523d4 huge code cleanup 2004-12-19 08:04:03 +00:00
Slava Pestov 5b26116784 plugin fixes 2004-12-19 06:48:31 +00:00
Slava Pestov 790b6132a3 re-adding stack.factor 2004-12-19 04:35:43 +00:00
Slava Pestov 2b26f6959b some cleanups 2004-12-19 04:35:20 +00:00
Slava Pestov cad99c8888 redid = hashcode and math words using new object system 2004-12-19 04:18:32 +00:00
Slava Pestov c82e2b032d marginally faster generic arithmetic 2004-12-19 01:24:46 +00:00
Slava Pestov d669c21401 specifying ABI on a per-library basis 2004-12-18 05:38:51 +00:00
Slava Pestov 4dc68601d7 use stdcall abi by default on windows, word usage counter 2004-12-18 04:02:19 +00:00
Slava Pestov 9c0d7f23d2 stepping over a word 2004-12-18 02:46:19 +00:00
Slava Pestov a2717958f0 compiler does tail call optimization 2004-12-18 00:27:42 +00:00
Slava Pestov 2f8d25d9e6 ffi works 2004-12-17 00:57:03 +00:00
Slava Pestov d3dd7005d9 fix M: complex hashcode 2004-12-16 23:36:26 +00:00
Slava Pestov 6c6c23ce71 reworked bootstrap code, a lot of cleanups 2004-12-15 21:57:29 +00:00
Slava Pestov daac96e764 tail call optimization 2004-12-14 07:57:40 +00:00
Slava Pestov b2cebbb5e4 removing unused alien-macros 2004-12-14 00:16:33 +00:00
Slava Pestov 00b9fefd0b some progress on alien 2004-12-14 00:14:03 +00:00
Slava Pestov 6b744e5cd6 clean up x86 generator, add SDL and alien to bootstrap 2004-12-13 23:40:21 +00:00
Slava Pestov e074e36682 remove unneeded DLLEXPORT and obsolete optimizer tests 2004-12-13 21:46:30 +00:00
Slava Pestov db88cc9460 compiler cleanups 2004-12-13 21:28:28 +00:00
Slava Pestov f787c992f5 don't use esi for data stack anymore; os word pushes unix or win32; don't use ansi escape codes on windows 2004-12-13 20:37:50 +00:00
Slava Pestov 235514f6f6 Moved generic stuff to its own directory, and merged vectors and vector-combinators 2004-12-13 05:13:54 +00:00
Slava Pestov 7a31260d23 predicate metaclass; prettyprint, see, unparse, ' and other words are now generic 2004-12-13 04:49:44 +00:00
Slava Pestov 24ea465e4b unparser generified 2004-12-12 21:54:29 +00:00
Slava Pestov a3a7247f60 more progress on generic words 2004-12-12 21:32:47 +00:00
Slava Pestov 11e98d9fd4 more generic work 2004-12-11 23:27:02 +00:00
Slava Pestov ee5fc9575d generic.factor cleanups; started generalized dispatching 2004-12-11 23:18:43 +00:00
Slava Pestov 805653deb8 win32 port 2004-12-11 03:59:50 +00:00
Slava Pestov 50130a62a1 code cleanups 2004-12-11 02:39:27 +00:00
Slava Pestov e965801789 merged stack continuations combinators and logic vocabularies into kernel vocabulary 2004-12-11 00:29:07 +00:00
Slava Pestov 3843ebb744 move some words to math-internals 2004-12-10 23:38:40 +00:00
Slava Pestov f1ac31e7c5 optimize out #label blocks if there is no recursive call to the label inside the block 2004-12-10 23:23:50 +00:00
Slava Pestov c2fe23829c stack op rewriting cleaned up, #push-immediate/#push-indirect distinction simplifies generator, optimizer fixes 2004-12-10 22:27:07 +00:00
Slava Pestov 1e3abd8d44 working on dataflow optimizer 2004-12-10 07:41:52 +00:00
Slava Pestov 0d8d3fcd78 stack inference fixes, do not linearize #values 2004-12-08 23:39:36 +00:00
Slava Pestov 0020f1a4f2 some work on the stack checker 2004-12-08 04:21:32 +00:00
Slava Pestov 0beb4d62df semi-working compiler 2004-12-06 04:00:52 +00:00
Slava Pestov a87ec701f8 remove old compiler 2004-12-06 02:20:58 +00:00
Slava Pestov 732d64c832 linerization of generic, 2generic 2004-12-06 02:17:09 +00:00
Slava Pestov 088eb786c8 Factor plugin -- better handling of external Factor errors, better error highlighting 2004-12-05 23:33:20 +00:00
Slava Pestov 451bd02c0b compiler work 2004-12-05 04:45:41 +00:00
Slava Pestov cd794415f0 optimizer correctly handles #ifte, #generic, #2generic, #label 2004-12-04 20:48:44 +00:00
Slava Pestov 4d6eb03903 new change word factors out foo get ... foo set pattern 2004-12-04 20:10:46 +00:00
Slava Pestov 736c4b8b64 more work on optimizer 2004-12-04 03:12:58 +00:00
Slava Pestov d45d4803d3 working on the optimizer 2004-12-03 22:11:49 +00:00
Slava Pestov 00195a2d2b start dataflow optimizer 2004-12-03 03:44:36 +00:00
Slava Pestov ec849514bb started linearizer, and new compiler framework 2004-12-02 00:48:08 +00:00
Slava Pestov 7308c11b18 fix terminator branches of generics 2004-12-01 04:56:01 +00:00
Slava Pestov 2df3a9e6e9 some dataflow IR unit tests and fixes 2004-11-30 04:14:12 +00:00
Slava Pestov 46d15bc82c fix literal dataflow, other fixes 2004-11-29 02:56:58 +00:00
Slava Pestov cfb85ef884 working on inference; symbols are written to images; generic words in core 2004-11-29 00:07:24 +00:00
Slava Pestov 3dccc4d2d5 more dataflow work 2004-11-28 04:09:32 +00:00
Slava Pestov 99651292cb more dataflow work, minor native cleanup 2004-11-28 03:26:05 +00:00
Slava Pestov 8c23dbb554 inferencer fixes 2004-11-27 05:51:28 +00:00
Slava Pestov 15a07f6f40 inline annotation for combinators; faster stack checker taking advantage of this fact; started dataflow IR 2004-11-27 05:33:17 +00:00
Slava Pestov 9680d5b6bb oop fix, split up inference 2004-11-27 03:23:57 +00:00
Slava Pestov 68b9312154 telnetd fix 2004-11-26 04:14:17 +00:00
Slava Pestov beeada9220 more rearrangement 2004-11-26 02:53:27 +00:00
Slava Pestov 3341d15590 dissolve platform/native/ 2004-11-26 02:51:47 +00:00
Slava Pestov 52efd14bce minor prettyprint improvements 2004-11-26 02:08:09 +00:00
Slava Pestov 22dc78433c hashtable prettyprinting 2004-11-26 01:37:05 +00:00
Slava Pestov a8975900bd ExternalFactor is done 2004-11-25 02:45:30 +00:00
Slava Pestov 97eeec4739 continuation prompt in the listener; moved some stuff to syntax dir 2004-11-24 03:20:23 +00:00
Slava Pestov 24e8d2fc2a now that stack checker works, remove compile-all machinery 2004-11-23 02:12:29 +00:00
Slava Pestov 7161b8c5c6 working on docs, measuring gc time 2004-11-23 00:15:14 +00:00
Slava Pestov e987c96820 fixes 2004-11-22 02:16:16 +00:00
Slava Pestov 808d4d8053 minor inference and interpreter work 2004-11-22 00:27:18 +00:00
Slava Pestov 335a459454 cleanup quicksort, thread safety fix 2004-11-21 08:29:18 +00:00
Slava Pestov 772ae356ee various cleanups, code primitive now shows code space usage, :get and &get, working on inferencer 2004-11-20 21:57:01 +00:00
Slava Pestov 84d1667fdf ExternalFactor VocabularyLookup 2004-11-19 04:23:12 +00:00
Slava Pestov d9f823856a working on stack effect inference 2004-11-18 01:59:28 +00:00
Slava Pestov 9c73f061a7 Performance improvement for FactorStream 2004-11-17 22:11:09 +00:00
Slava Pestov b81477008f Remove more Java Factor-only code 2004-11-17 04:14:01 +00:00
Slava Pestov a61108625a Remove Java Factor tests 2004-11-17 04:09:34 +00:00
Slava Pestov dc9dd453f1 Java Factor no longer exists 2004-11-17 04:04:51 +00:00
Slava Pestov f281088027 missing jedit-wire.factor in CVS 2004-11-17 00:45:15 +00:00
Slava Pestov be291d09fb remove JVM compiler stuff from library 2004-11-16 17:35:19 +00:00
Slava Pestov d9f39dbe2e updates for console plugin 2004-11-16 03:47:19 +00:00
Slava Pestov 846b471e58 more documentation work 2004-11-16 02:37:49 +00:00
Slava Pestov 7652807d78 random cleanups, starting new developer's guide 2004-11-15 17:33:21 +00:00
Slava Pestov 23bd9f26fe overhauling plugin 2004-11-13 23:07:18 +00:00
Slava Pestov d06e3c0ffb fix for jvm factor bootstrap 2004-11-12 02:00:28 +00:00
Slava Pestov 7cebc2e469 stack effects for all primitives, updated to do list, literal hashtable syntax {{ [ key | value ] ... }} 2004-11-11 21:45:55 +00:00
Slava Pestov 26dd297e62 make-string and make-list replace <> and [, ,] 2004-11-11 20:15:43 +00:00
Slava Pestov eece9c1f84 Start Factor 0.69 2004-11-10 03:47:01 +00:00
Slava Pestov 4fd8f1cdf2 Factor 0.68 2004-11-10 03:22:25 +00:00
Slava Pestov fd4259657c compiled stack ops didn't commit-literals; printing gensym with a def failed 2004-11-10 03:19:43 +00:00
Slava Pestov 2f1039eb05 added sdl-keysyms, split sdl vocabulary, more factoroids work 2004-11-10 02:51:43 +00:00
Slava Pestov a3bb6acf52 fixed signal handling, factoroids 2004-11-09 17:29:25 +00:00
Slava Pestov fb798e97fa a pile of bug fixes and improvements 2004-11-09 03:36:51 +00:00
Slava Pestov e91be726c9 oopsie in boot-stage2 2004-11-07 02:20:43 +00:00
Slava Pestov 0cb88ac092 add test for diverging words 2004-11-07 02:20:05 +00:00
Slava Pestov 20ef12db55 preliminary implementation of recursive effect deduction, compiler work 2004-11-07 02:03:35 +00:00
Slava Pestov 5f5b0e131b datastack in ESI 2004-11-06 20:51:17 +00:00
Slava Pestov df39f78f6d work on inferencer, and vector-2map combinator 2004-11-05 22:41:54 +00:00
Slava Pestov d7db4d1ccd working on inference 2004-11-05 02:36:33 +00:00
Slava Pestov c987599a50 fix tests 2004-11-04 04:42:48 +00:00
Slava Pestov f0796ee7ce add missing test 2004-11-04 04:36:24 +00:00
Slava Pestov d347d20dbc adding trace, step, stack inference to cvs, rearranging some stuff 2004-11-04 04:35:36 +00:00
Slava Pestov 7451cfb339 quit-responder fix, pointless and misguided type number rearrangement 2004-10-31 19:36:42 +00:00
Slava Pestov 4af94c0dc3 actions menu cleanup 2004-10-31 03:18:55 +00:00
Slava Pestov 5b941542bc Factor is now a console shell 2004-10-31 01:41:25 +00:00
Slava Pestov 7356e63082 adding graphics library 2004-10-30 01:23:45 +00:00
Slava Pestov 18305aaa95 minor fixes 2004-10-29 03:58:23 +00:00
Slava Pestov 17a6ef1eae a few bug fixes 2004-10-28 03:13:00 +00:00
Slava Pestov c92c56ce24 some cleanups and benchmarks 2004-10-28 01:21:31 +00:00
Slava Pestov a461059ef7 alien fixes, sdl fixes, lotsa other stuff 2004-10-23 05:15:06 +00:00
Slava Pestov d08ef9defd event fixes 2004-10-21 01:49:10 +00:00
Slava Pestov 6865ffd517 union types in FFI 2004-10-19 16:32:54 +00:00
Slava Pestov 1aef8c48a0 start 0.68 by moving list-math to contrib and simplifying subset combinator 2004-10-18 05:37:46 +00:00
Slava Pestov b48cde2d60 forgot about this file 2004-10-17 23:10:46 +00:00
Slava Pestov 00c4b2d09b various cleanups, better memory signal handler 2004-10-17 23:01:16 +00:00
Slava Pestov d61d9e3304 minor cleanups 2004-10-17 20:04:49 +00:00
Slava Pestov 3a9235499d SDL_gfx binding and many cleanups 2004-10-17 01:55:13 +00:00
Slava Pestov 42e15aaede working on sdl binding, remove some combinators 2004-10-14 03:06:40 +00:00
Slava Pestov 0f15cc3fdf latest fixes 2004-10-13 21:42:03 +00:00
Slava Pestov 253e559a73 remove gc env slot 2004-10-13 03:52:03 +00:00
Slava Pestov be8eb34102 memory management change, allocating primitives call gc directly 2004-10-13 03:49:43 +00:00
Slava Pestov 9c2166b0be possibly controversial: removed destructive list manipulation; other cleanups 2004-10-12 05:11:35 +00:00
Slava Pestov 96a5afc718 HSV>RGB color conversion, much other stuff 2004-10-12 01:40:12 +00:00
Slava Pestov 96293991ec parse-number cleanups 2004-10-10 19:35:59 +00:00
Slava Pestov d401456f50 moved quadratic and simpson to contrib, fix some parse-number oddness 2004-10-10 18:28:56 +00:00
Slava Pestov 3e6e224c21 combinators.factor load fix 2004-10-10 02:36:41 +00:00
Slava Pestov ef4125a784 factor 0.66 ready 2004-10-10 01:58:16 +00:00
Slava Pestov b82f596d6f added sdl-gfx 2004-10-10 01:43:14 +00:00
Slava Pestov 60607268f9 compile all by default 2004-10-09 19:14:49 +00:00
Slava Pestov 7b362d7562 fix parser bug with [ 1 | #{ 1 2 } ] 2004-10-07 03:40:46 +00:00
Slava Pestov f9886da504 some code cleanups, remove usages of deprecated combinators 2004-10-07 03:34:22 +00:00
Slava Pestov 602b03f39d some compiler work 2004-10-07 01:04:01 +00:00
Slava Pestov f6429f7dab some compiler work, compiled? primitive 2004-10-05 03:58:53 +00:00
Slava Pestov 35261e5232 started with SYMBOL: for java factor 2004-10-05 03:06:18 +00:00
Slava Pestov 5b10aac530 compiler work, file-responder fix 2004-10-05 01:51:57 +00:00
Slava Pestov b30c92eb6f more test suite work 2004-10-03 20:39:32 +00:00
Slava Pestov c70b0cecf5 throw is primitive in CFactor, working on test suite 2004-10-03 20:07:48 +00:00
Slava Pestov 2fdcdc71d3 2generic is compiled 2004-10-02 02:46:12 +00:00
Slava Pestov 8bd79db741 compiling when/unless 2004-10-02 02:25:19 +00:00
Slava Pestov 1c2dbb1888 'generic' word now compiled 2004-10-02 02:02:54 +00:00
Slava Pestov c6013cd941 working on compiler 2004-10-01 01:49:49 +00:00
Slava Pestov 564a8ad46c compiling mutually recursive words 2004-09-28 04:24:36 +00:00
Slava Pestov 2c2d33d6e9 fix 2004-09-28 03:01:04 +00:00
Slava Pestov 10d070d3ec str/vector-hashcode 2004-09-27 01:34:25 +00:00
Slava Pestov babd2b7494 doc updates 2004-09-27 00:16:02 +00:00
Slava Pestov 950fe264da C struct cleanups, alien-call word 2004-09-25 20:18:11 +00:00
Slava Pestov 95c80ddb25 some bug fixes and ffi updates 2004-09-25 03:22:44 +00:00
Slava Pestov 14369badb2 html link fixes 2004-09-23 20:50:30 +00:00
Slava Pestov ab6c6b20c3 httpd responder changes, fix gc race 2004-09-23 03:42:45 +00:00
Slava Pestov 6ed8e58242 local aliens 2004-09-22 02:58:54 +00:00
Slava Pestov 8ce75ea146 heap-stats. word 2004-09-21 16:41:57 +00:00