Commit Graph

434 Commits (698f4180bbd580c73f1cf3204cc83626a6245a7b)

Author SHA1 Message Date
Joe Groff 4044cd293a TYPEDEF-IF: and USE-IF: words; ptrdiff_t C type moved to alien.c-types and special-cased for win64 2008-01-13 00:09:08 -08:00
Joe Groff e0caf654e6 OpenGL 2.1 support 2008-01-12 22:58:56 -08:00
Slava Pestov 3fd394d06e Add fixnum>float intrinsic for PowerPC; speeds up spectral norm 2008-01-13 00:56:31 -05:00
Doug Coleman b2871a8b51 Merge git://factorcode.org/git/factor 2008-01-12 19:34:01 -10:00
Slava Pestov b71e07affe Merge git://factorcode.org/git/factor 2008-01-12 23:50:46 -05:00
Slava Pestov 36f31e784b Fixing x86.64 port 2008-01-12 20:50:22 -08:00
Slava Pestov 4fb8380578 Tweaking fixnum-shift-fast 2008-01-12 22:57:13 -05:00
Doug Coleman aa08a1f5f6 Merge git://factorcode.org/git/factor 2008-01-12 17:44:15 -10:00
Slava Pestov d54fc8172d Assorted fixes 2008-01-12 22:24:27 -05:00
Doug Coleman 0ee64a0358 Merge git://factorcode.org/git/factor 2008-01-12 16:41:00 -10:00
Slava Pestov beeb4a90a1 Added unit tests 2008-01-12 21:39:22 -05:00
Slava Pestov ede5bb9243 Updating x86.64 port 2008-01-12 21:38:57 -05:00
Slava Pestov e3416ec170 Faster bit-arrays 2008-01-12 21:37:44 -05:00
Slava Pestov a2a43e9980 New fixnum-shift primitive 2008-01-12 21:13:40 -05:00
Doug Coleman 03f6728e26 Merge git://factorcode.org/git/factor 2008-01-12 15:00:47 -10:00
Doug Coleman bcaea26f32 fix trivial duplication 2008-01-12 14:58:42 -10:00
Slava Pestov 2d6d22175e x86 backend work 2008-01-12 18:46:22 -05:00
Slava Pestov 50e6aca633 Unit test fix 2008-01-12 18:00:41 -05:00
Slava Pestov 1a43d30d54 Fix tuple class redefinition not updating constructor 2008-01-12 18:00:28 -05:00
Slava Pestov cece726e54 Make alien.c-types reloadable 2008-01-12 17:34:26 -05:00
Slava Pestov 4373cb1630 Fix performance prbolem 2008-01-12 17:25:29 -05:00
Doug Coleman 80d129191e small cleanup of shuffle words 2008-01-12 12:24:38 -10:00
Doug Coleman 3f7943fb08 more cleanups, lint fix 2008-01-12 09:09:49 -10:00
Doug Coleman 0f7d1a83f8 Merge git://factorcode.org/git/factor 2008-01-12 09:09:28 -10:00
Doug Coleman 8b8ebaacc8 small cleanups from lint 2008-01-12 07:42:47 -10:00
Slava Pestov c8d4846a03 Fix some compiled-usage issues 2008-01-12 04:25:16 -05:00
Doug Coleman 84891e2591 pick pick -> 2over
minor cleanups
2008-01-11 12:02:44 -10:00
Doug Coleman ff1ee9e874 2apply and -> both? 2008-01-11 11:03:18 -10:00
Doug Coleman 5189bb2e4a Merge git://factorcode.org/git/factor 2008-01-11 09:26:37 -10:00
Slava Pestov 554a0d3877 Documentation updates 2008-01-11 03:32:25 -05:00
Doug Coleman 1a2ca6e463 Merge git://factorcode.org/git/factor
Conflicts:

	extra/html/elements/elements.factor
2008-01-10 20:51:50 -10:00
Slava Pestov d2222179c6 Clean up compiler.errors 2008-01-11 01:01:38 -05:00
Doug Coleman d44b88778e [ first2 ] each -> assoc-each 2008-01-10 15:29:11 -10:00
Doug Coleman 3546f5150d Merge http://littledan.onigirihouse.com/factor 2008-01-09 22:18:14 -10:00
Daniel Ehrenberg 5dc9841312 Fixing parsing bug 2008-01-09 20:13:59 -06:00
Daniel Ehrenberg ec79a765a3 Fixed parser mess-up 2008-01-09 19:38:26 -06:00
Daniel Ehrenberg c8b1db0a3e Changes for unicode 2008-01-09 19:34:29 -06:00
Slava Pestov 542b85889d Fix unit tests 2008-01-09 19:13:26 -05:00
Daniel Ehrenberg 1dfabe3b34 Merge commit 'slava/master' into unicode
Conflicts:

	core/parser/parser.factor
	core/source-files/source-files.factor
	extra/unicode/unicode-tests.factor
	extra/unicode/unicode.factor
2008-01-09 17:30:59 -06:00
Slava Pestov 6df84617d6 Rename reload-vocab to reload 2008-01-09 17:53:55 -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 2180b0f146 Fix init-stdio scope issue 2008-01-09 01:50:25 -05:00
Slava Pestov fa72e695a4 Fix tpo 2008-01-09 01:35:28 -05:00
Slava Pestov 028e0075d8 PowerPC support work in progress 2008-01-09 01:33:40 -05:00
Slava Pestov 85c9f78790 Fix PowerPC JIT 2008-01-09 00:18:03 -04:00
Slava Pestov ac5f758bce PowerPC support work in progress 2008-01-08 17:04:45 -04:00
Slava Pestov 928c68b506 JIT improvements; simpler 'current XT' relocation logic 2008-01-07 17:14:09 -04:00
Slava Pestov 4e43b946f9 Fix conflicts 2008-01-06 14:17:50 -04:00
Slava Pestov 8285eeda9a Fix conflict 2008-01-06 13:30:23 -04:00
Slava Pestov 07e5441b14 Definition protocol cleanup 2008-01-06 12:13:44 -04:00
Doug Coleman 3f1370f2b5 lines-crc32 now crcs a \n at the end of each line. it is still off by one \n if the last line doesn't have a newline, but it's good enough for the parser 2008-01-05 21:46:39 -06:00
Slava Pestov b40c064fc6 Remove some dead code 2008-01-05 22:06:51 -04:00
Slava Pestov 5f5270ae90 Cleaning up mixins 2008-01-05 22:06:01 -04:00
Slava Pestov 825601ccc7 More circularity fixes 2008-01-05 20:37:13 -04:00
Slava Pestov c3deb44f43 Fix circularity 2008-01-05 18:27:15 -04:00
Slava Pestov 55efffed6c Make mixins smarter, fix interactor 2008-01-04 22:10:49 -04:00
Doug Coleman 12f990bd1a change the parser to use file-lines
add lines-crc32
update source-files for the contents -> lines change
2008-01-04 20:02:54 -06:00
Doug Coleman ace3419a8a Remove circular dependency in io
add file-lines
2008-01-04 18:56:04 -06:00
Slava Pestov c86e95bc30 Add some more compiled-usage tests 2008-01-02 23:08:28 -04:00
Slava Pestov 96f4f3ff40 Fix profiler 2008-01-02 23:07:25 -04:00
Slava Pestov b7327b6228 Redo the profiler 2008-01-02 20:36:36 -04:00
Doug Coleman 7c77535824 Merge http://littledan.onigirihouse.com/factor 2008-01-02 01:49:10 -06:00
Slava Pestov e35ca18921 Working on compiled-usage 2008-01-01 15:54:14 -04:00
Aaron Schaefer 897a8ed8aa Replace '<file-reader> contents' with 'file-contents' in all vocabs 2007-12-31 14:47:24 -05:00
Slava Pestov 6922bded81 Speed up compile-call 2007-12-30 21:34:44 -05:00
Aaron Schaefer 41fa14010d Move file-contents word to core/io/io.factor 2007-12-30 21:29:27 -05:00
Slava Pestov 18eb8e2bd3 Clean up interactor gadget 2007-12-30 21:15:59 -05:00
Slava Pestov 64b06f059a Unit test fixes 2007-12-30 17:14:15 -05:00
Slava Pestov 78ae930a33 Documentation updates 2007-12-30 16:09:21 -05:00
Slava Pestov 13c058870e Fix bootstrap.help 2007-12-30 15:40:57 -05:00
Slava Pestov e1be77ee6f Documentation updates 2007-12-30 15:08:48 -05:00
Slava Pestov a8160d74ad Fix load order issue 2007-12-30 15:08:01 -05:00
Slava Pestov 3cd454bfe7 Use linux? word now 2007-12-30 15:06:37 -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 529133559f Rename require-each to require-all 2007-12-29 22:30:17 -05:00
Slava Pestov e2f270be70 Fix cleanup combinator in the case where always-cleanup throws an error 2007-12-29 12:35:51 -05:00
Slava Pestov e58cbb2cda : spin swap rot ; 2007-12-29 11:36:20 -05:00
Slava Pestov 74fb0ed298 Oops 2007-12-28 23:06:11 -05:00
Slava Pestov 58da31c071 New implementation of compiler error reporting 2007-12-28 22:51:36 -05:00
Slava Pestov 1caa78f618 Fixes for with-interactive-vocabs change 2007-12-28 21:50:09 -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 b810e92456 Move optimizer to extra/ 2007-12-26 21:21:12 -05:00
Slava Pestov f53fa196ac New must-infer word; \ foo must-infer asserts that foo's declared effect matches its inferred effect, put this in your unit tests 2007-12-26 20:54:38 -05:00
Slava Pestov c5d91d12df Fix implementation of deferred words 2007-12-26 20:40:46 -05:00
Slava Pestov 2a24567546 Work in progress 2007-12-26 20:21:46 -05:00
Slava Pestov f624726e8e Fix bootstrap 2007-12-26 20:21:18 -05:00
Slava Pestov 9de32c7b2d Remove temporary hack now that new JIT works 2007-12-26 20:20:49 -05:00
Slava Pestov 93e1bdfcd7 Simplify JIT, fix tuples unit tests 2007-12-26 20:02:41 -05:00
Slava Pestov 1b9e04fdc5 Deferred words are now compound words 2007-12-26 17:28:34 -05:00
Slava Pestov c9a7138b76 Remove unused symbols 2007-12-26 17:17:39 -05:00
Slava Pestov 4bb2a43a10 Early binding JIT work in progress 2007-12-26 02:33:49 -05:00
Slava Pestov c09af2f2c6 Improved JIT compiler design; better REGISTER_ROOT/UNREGISTER_ROOT stuff 2007-12-26 01:45:16 -05:00
Slava Pestov 500ec89b56 Remove useless <quotation> word 2007-12-25 23:45:04 -05:00
Slava Pestov 3d784c7927 Simplify quotation calling convention: no need to pass XT 2007-12-25 23:40:36 -05:00
Slava Pestov 423c22e4ef Symbols are compound defs now; SYMBOL: foo == : foo \ foo ; 2007-12-25 22:55:17 -05:00
Slava Pestov 73053ef230 Add failing unit test 2007-12-25 18:11:56 -05:00
Slava Pestov 32641f04e7 Remove intern-symbol 2007-12-25 18:10:05 -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 02b509a1d4 Remove dead code 2007-12-24 17:18:46 -05:00
Slava Pestov 0052e129fd Clean up class definition recording 2007-12-24 17:18:26 -05:00
Slava Pestov 3e27a82f8e Fixes 2007-12-22 15:47:10 -05:00
Slava Pestov 07a4022d62 Parser, definitions, source-files refactoring work in progress 2007-12-21 21:18:24 -05:00
Doug Coleman ded88583ef fixed heap-push-all 2007-12-20 00:06:36 -06:00
Doug Coleman b4575a9bff Templating now runs in quiet mode
session ids are now  4 bignum number>string string>sha-256-string
add assoc-heaps
sessions are stored in an assoc-heap
2007-12-19 23:34:30 -06:00
Slava Pestov 6636a75a8a Move experimental code to core/compiler/ 2007-12-19 20:55:40 -05:00
Doug Coleman de7531424b Return 1 to shell on error 2007-12-18 16:59:03 -06:00
Slava Pestov 326fb1b01d Merge commit 'dharmatech/master' 2007-12-18 17:04:57 -05:00
Eduardo Cavazos 80c20bebc4 typo 2007-12-18 15:22:06 -06:00
Eduardo Cavazos ccbb865f3d typo 2007-12-18 15:16:41 -06:00
Slava Pestov 308cf5aef7 Listener auto-compiles; more smart recompile work in progress 2007-12-17 16:29:54 -05:00
Slava Pestov 51992905b2 Inference tests tweak 2007-12-17 16:29:26 -05:00
Daniel Ehrenberg 416556ce63 New hashcode function 2007-12-17 15:46:55 -05:00
Daniel Ehrenberg cd86eb8feb Sequence hashcode 2007-12-17 00:42:41 -05:00
Daniel Ehrenberg c0d2654618 Merge branch 'master' into hashcode
Conflicts:

	core/sequences/sequences.factor
2007-12-17 00:20:03 -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
Daniel Ehrenberg 87b4633318 Merge git://factorcode.org/git/factor 2007-12-15 16:22:06 -05:00
Daniel Ehrenberg c726962a7a Fixing insufficient safety in flip and M: column virtual@ 2007-12-15 16:20:32 -05:00
Slava Pestov fda9958ab4 Starting 0.92 2007-12-13 15:15:54 -05:00
Daniel Ehrenberg 2e144daa6e Merge branch 'master' into hashcode 2007-12-13 13:06:57 -05:00
Slava Pestov 0670633393 Bootstrap fix 2007-12-12 00:32:35 -05:00
Slava Pestov d7217801c3 Documentation fixes 2007-12-11 22:36:40 -05:00
Doug Coleman 0cc666a87b Remove binary/library roots from core/files 2007-12-09 11:43:00 -06:00
Slava Pestov 9bbde3f60a Fix Linux/x86-64 signal handler problem 2007-12-08 23:26:35 -05:00
Slava Pestov 4ade825fc6 Open-code member? test 2007-12-08 17:45:51 -05:00
Slava Pestov 0d7ea67bcf Merge commit 'erg/master' 2007-12-07 14:24:54 -05:00
Slava Pestov ab8b15693f Minor compiler tweak; respect -quiet 2007-12-06 15:17:38 -05:00
Doug Coleman ddd55ac4fa Experimental find-binary and find-library words 2007-12-05 18:09:08 -06:00
Slava Pestov 7a6fa3b431 Merge git://factorcode.org/git/factor 2007-12-03 19:29:33 -05:00
Slava Pestov 3c95a5a3ea Fix map>assoc where the input is a specialized array 2007-12-03 19:29:16 -05:00
Slava Pestov cd041abee3 Generalized pprint-string 2007-12-03 19:19:18 -05:00
Slava Pestov ede01d8398 Fixes 2007-11-28 14:04:29 -05:00
Slava Pestov 1f2001143c Add type check to curry primitive 2007-11-25 15:27:11 -05:00
Slava Pestov 94e0c7c8eb Callbacks were being blown away on startup 2007-11-25 03:48:22 -05:00
Slava Pestov aaa493ebd2 Implement copy-file on Windows 2007-11-24 16:38:20 -05:00
Daniel Ehrenberg 9b0a6093ce New hashcode function 2007-11-23 23:54:56 -05:00
Slava Pestov cd84465895 Documentation fix 2007-11-22 20:47:58 -05:00