Commit Graph

610 Commits (2e691d06be7424e4be1de0b4b01b0f58ad1e718b)

Author SHA1 Message Date
Slava Pestov 7cde7402a1 instances word rewritten in factor 2005-02-18 03:49:19 +00:00
Slava Pestov b4c1748463 fix stack effects 2005-02-18 03:15:29 +00:00
Slava Pestov 1fe16b1a6c eliminate library/primitives.factor 2005-02-18 02:19:27 +00:00
Slava Pestov de7978b6b5 unit test fix 2005-02-18 00:01:11 +00:00
Slava Pestov ee184cbb16 slot compiled efficiently 2005-02-17 21:10:35 +00:00
Slava Pestov 9eb0046f09 ds is in esi now 2005-02-17 04:24:35 +00:00
Slava Pestov e92757e93c working on jEdit plugin 2005-02-17 02:54:36 +00:00
Chris Double c1ca6b761e Change default timeout for continuation responder. Update live updater
and todo list code for stream and read word changes.
2005-02-16 01:38:21 +00:00
Slava Pestov a22dffcd62 UI fixes 2005-02-15 23:05:28 +00:00
Slava Pestov a5d2964083 gcc 3.x fix 2005-02-15 03:29:40 +00:00
Slava Pestov f95496e655 stream word renaming 2005-02-15 03:15:02 +00:00
Slava Pestov e9c3e62d09 instances word, memory vocabulary 2005-02-15 02:58:07 +00:00
Chris Double 74bf210b1c Added missing files. 2005-02-14 22:19:09 +00:00
Chris Double 0b3a34d0c8 add browser style to words to allow browsing source. add browser and
cont-responder to factor httpd. add cont-responder tutorial to main doc
dicretory. mention location of cont-test.factor in tutorial. change
defauly startup location of browser.
2005-02-14 21:44:15 +00:00
Chris Double a3a1cf8a8c Fix bugs with browser responder.
Fix url>path so it doesn't double decode query parameters.
2005-02-13 02:51:33 +00:00
Slava Pestov 82e22a0841 text fields in the UI 2005-02-13 02:15:30 +00:00
Mackenzie Straight a1d6e58851 win32 bug fixes 2005-02-12 07:23:38 +00:00
Slava Pestov f5fe5fd692 SDL console fix 2005-02-12 00:35:50 +00:00
Slava Pestov 96edb600fe field fix 2005-02-12 00:11:31 +00:00
Slava Pestov 36b97dd4ee working on labels and fields 2005-02-12 00:09:48 +00:00
Slava Pestov 8d565b6968 basic notion of keyboard focus 2005-02-11 17:45:24 +00:00
Slava Pestov b05ad02a1d start keyboard focus 2005-02-11 04:58:28 +00:00
Slava Pestov 7f92f0df6a fix prettyprinter bug 2005-02-10 22:36:19 +00:00
Chris Double 0319645ff6 change 'library' to 'libraries' in comment for command line syntax. 2005-02-10 22:32:39 +00:00
Slava Pestov 85a37f6199 Developer's guide updates; implicit tuple constructors 2005-02-10 20:14:20 +00:00
Slava Pestov f24721a010 tuples gracefully handle changing shape 2005-02-10 03:35:11 +00:00
Slava Pestov 06404d533d working on prettyprint 2005-02-10 01:57:19 +00:00
Mackenzie Straight 7e11f655b5 bug fixes 2005-02-10 01:17:23 +00:00
Slava Pestov 5de9e55e26 string.c fix 2005-02-10 00:58:53 +00:00
Slava Pestov a8c34f50a8 tuple dispatch compiled, adding USING: to more files, inference terminator cleanup, jedit cleanup, new reload word to reload a word's source file 2005-02-09 03:02:44 +00:00
Mackenzie Straight 88ba22ff6c Win32 version ported to gcc, eliminate MSVC hacks, add gcc hacks 2005-02-08 22:05:08 +00:00
Mackenzie Straight d22b17c169 win32 IO memory leak fix 2005-02-08 15:48:12 +00:00
Slava Pestov 44420f200a checkboxes 2005-02-08 01:10:02 +00:00
Slava Pestov 7754dde558 fix unit test regressions 2005-02-07 23:42:33 +00:00
Mackenzie Straight 47ae3ca11b Add dlists to USING: 2005-02-07 23:33:33 +00:00
Slava Pestov b2dd65d4e6 dlists vocabulary 2005-02-07 23:31:06 +00:00
Slava Pestov 4d7f2b8143 dlists.factor, working on UI 2005-02-07 23:27:55 +00:00
Mackenzie Straight 151c6fac3c Threading/IO updates 2005-02-07 23:04:49 +00:00
Slava Pestov 422205e4f9 fix see 2005-02-07 18:14:55 +00:00
Slava Pestov 695c351c48 see shows stack effect of primitives, sdl console fix 2005-02-07 17:16:39 +00:00
Slava Pestov a061f53214 fix for expired fonts, inference unit test failure 2005-02-07 16:51:22 +00:00
Slava Pestov 8f17b86e3d fixed UI bootstrap 2005-02-07 15:24:03 +00:00
Mackenzie Straight 5259f93c29 Preliminary win32 fixes; will refactor later 2005-02-07 14:46:56 +00:00
Mackenzie Straight 700c4d8e17 fix sdl console 2005-02-07 14:20:10 +00:00
Slava Pestov 9cdd902f57 inside method for ellipses 2005-02-06 05:21:26 +00:00
Slava Pestov 78c9e75847 more UI work, new shapes, tuple in/out syntax 2005-02-06 03:51:41 +00:00
Slava Pestov 711c19445d mouse enter/leave events 2005-02-05 16:52:24 +00:00
Slava Pestov 3ba50f6665 buttons now update their appearance when pressed 2005-02-04 03:21:51 +00:00
Slava Pestov 68c98205bc borders of various kinds 2005-02-04 00:11:06 +00:00
Slava Pestov 3e4d15c835 removed boxes; all gadgets can contain children now 2005-02-03 23:18:47 +00:00
Slava Pestov 5791ae2e42 refactoring shape protocol for mutability; layouts 2005-02-03 03:00:46 +00:00
Slava Pestov 09b8578afd layouts 2005-02-03 00:50:13 +00:00
Slava Pestov 99f46aa313 label gadget 2005-02-02 03:48:04 +00:00
Slava Pestov 90bcf57e54 missing file 2005-02-02 03:00:55 +00:00
Slava Pestov 0ae2b20829 working on UI gestures 2005-02-02 02:47:10 +00:00
Slava Pestov cd286eeff7 working on hand gadget 2005-02-02 01:14:03 +00:00
Slava Pestov 3453ac0e04 more UI work 2005-02-02 00:00:16 +00:00
Slava Pestov 8a42466cf2 more UI work 2005-02-01 03:32:06 +00:00
Slava Pestov c35f6f9f44 fixed compiler; UI work 2005-01-31 19:02:09 +00:00
Slava Pestov 330db0497d tuples used for i/o streams, removed traits metaclass 2005-01-30 20:57:25 +00:00
Slava Pestov 93dc7ce736 added new tuple metaclass, eventually to replace the traits metaclass 2005-01-29 21:39:30 +00:00
Slava Pestov 5b524a0fff USING: parsing word more compact than multiple USE: 2005-01-29 19:18:28 +00:00
Slava Pestov 12eceb5b44 removed <filebr>, <filebw>, renamed <filecr> to <file-reader>, <filecw> to <file-writer> 2005-01-29 05:07:56 +00:00
Slava Pestov d29cd15f74 growable hashtables 2005-01-29 04:55:22 +00:00
Slava Pestov 67af634d00 hashtables bootstrap correctly 2005-01-28 01:06:10 +00:00
Slava Pestov 0dfb0cf01e array refactoring; started hashtable refactoring 2005-01-26 00:40:57 +00:00
Slava Pestov af40535556 more descriptive undefined-method error 2005-01-24 02:31:32 +00:00
Slava Pestov c026fd7786 added bitstream vera fonts, sdl console uses sdl-ttf for text rendering 2005-01-24 02:00:52 +00:00
Slava Pestov 73d505339a removed times*, use repeat instead 2005-01-23 21:47:28 +00:00
Mackenzie Straight 406a989bab add sdl-ttf library for Windows 2005-01-23 04:40:26 +00:00
Slava Pestov 4154b4a2ac fix 'extract word' putting stuff in the wrong place 2005-01-21 04:10:37 +00:00
Slava Pestov 21ce71c4a4 started work on sdl-ttf binding, some-with? combinator 2005-01-20 02:01:47 +00:00
Slava Pestov 2ecd3bad05 fix SDL console 2005-01-19 02:52:03 +00:00
Slava Pestov 308a8a75a5 improved SDL console 2005-01-19 02:42:29 +00:00
Slava Pestov 0270b62ce5 literal table should be reset on warm boot 2005-01-18 00:55:18 +00:00
Slava Pestov 3617093ba5 new simplifier 2005-01-17 20:33:12 +00:00
Slava Pestov b5801f45dd faster generic arithmetic, messing around with inference 2005-01-16 22:58:28 +00:00
Slava Pestov 8247cc5ff4 renumbering some types and other cleanups 2005-01-15 00:51:38 +00:00
Slava Pestov 651bdb4709 more parser cleanups; stack inference cleanups 2005-01-14 19:56:19 +00:00
Slava Pestov 3eccfa495e simplifying the parser; #{ a b } is now #{ a b }# 2005-01-14 17:01:48 +00:00
Slava Pestov 7e8a87f213 [[ car cdr ]] syntax replaces [ car | cdr ] 2005-01-14 00:49:47 +00:00
Slava Pestov 242644a236 finally fix vector-and compilation 2005-01-13 22:28:29 +00:00
Slava Pestov 8615910885 entry effect code work 2005-01-13 19:41:08 +00:00
Slava Pestov d236dd9ec8 making a mess of type inference; fixing overflowing /mod 2005-01-11 04:08:27 +00:00
Mackenzie Straight d942a6e57c remove win32-console 2005-01-08 21:56:42 +00:00
Slava Pestov 42b6d013f8 missing files 2005-01-08 21:43:18 +00:00
Slava Pestov c56ca0ca1f command to infer stack effects of all words in file 2005-01-08 04:54:23 +00:00
Slava Pestov d2e68b7f9e update Java Factor parser 2005-01-07 19:37:21 +00:00
Slava Pestov 72ac889e1b hand-coded fixnum primitives 2005-01-07 04:16:13 +00:00
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