Commit Graph

434 Commits (698f4180bbd580c73f1cf3204cc83626a6245a7b)

Author SHA1 Message Date
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
Slava Pestov a1bdbd7143 Remove debug message 2007-11-21 19:20:22 -05:00
Slava Pestov a552625ee3 Fix stream-read-partial on a line-reader 2007-11-21 03:39:34 -05:00
Slava Pestov be9bc3115f Add init hook for callbacks hash 2007-11-21 03:17:24 -05:00
Slava Pestov 48026c7d8d Improve sequence hash algorithm 2007-11-21 03:13:23 -05:00
Slava Pestov 0740e436d6 Fix bootstrap bug 2007-11-20 18:44:55 -05:00
Slava Pestov ddb85815ef stream-copy optimization 2007-11-18 01:10:58 -05:00
Slava Pestov 032fd57328 Document io.mmap and add mapped-file-closed? flag check 2007-11-17 01:49:06 -05:00
Slava Pestov 00d2d88027 Revert alien.compiler tweak, it was too clever 2007-11-17 01:43:15 -05:00
Slava Pestov 22fb002fd4 Ensure libc init hook is added before io init hook 2007-11-16 21:07:36 -05:00
Slava Pestov 563a60cb8d Documentation updates 2007-11-16 21:07:18 -05:00
Slava Pestov a90434696d Doc fix 2007-11-16 03:27:05 -05:00
Slava Pestov 9d7b1ac4dc Tweak alien.compiler 2007-11-16 01:43:29 -05:00
Slava Pestov 24de62e335 Fix bug in delete-node 2007-11-16 00:17:34 -05:00
Slava Pestov 0ef46b4234 Some dlists unit tests added 2007-11-15 21:44:10 -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 b4df054dd4 add inline declarations to dlists 2007-11-15 17:21:45 -05:00
Slava Pestov 72ea94384d Fixes 2007-11-15 04:40:23 -05:00
Slava Pestov c73c60e7f3 Minor stage2 tweak 2007-11-14 16:58:48 -05:00
Slava Pestov 5262801398 io.launcher updates and destructors cleanup 2007-11-13 01:10:26 -05:00
Slava Pestov a81a3387bf os-envs primitive to get current environment 2007-11-12 23:18:29 -05:00
Slava Pestov a39b4fd338 Fix bug 2007-11-12 17:13:59 -05:00
Slava Pestov 3e7df398c7 Resolve conflict 2007-11-12 17:11:17 -05:00
Slava Pestov a20584b47d Fix parent-directory 2007-11-12 17:00:32 -05:00
Slava Pestov 6f19e210b3 Fix parent-directory on / 2007-11-12 01:56:40 -05:00
Slava Pestov 8e9ad8cd1a Merge branch 'master' of git://factorcode.org/git/factor 2007-11-12 01:44:59 -05:00
Slava Pestov a6ef4582c3 io.files now has a path-separator? hook; cleanup 2007-11-12 01:41:13 -05:00
Slava Pestov a790fdf75f Fix stack effect of to-refresh 2007-11-11 19:30:45 -05:00
Slava Pestov 04a5c54e08 Remove redundant check-ptr usage 2007-11-09 03:19:01 -05:00
Slava Pestov 2dad70372d Fix another typo 2007-11-08 14:13:21 -05:00
Slava Pestov b55d591133 Update docs 2007-11-08 13:58:35 -05:00
Slava Pestov 6ccf4ddb24 refresh-all bug fix 2007-11-08 01:57:56 -05:00
Slava Pestov 3367467205 Move some vocabs from core/bootstrap to extra/bootstrap 2007-11-08 01:57:30 -05:00
Slava Pestov 6dcdf6b59b Fix printing of displaced aliens over byte arrays 2007-11-07 19:26:39 -05:00
Slava Pestov 6d3d12667b Merge branch 'master' of git://factorcode.org/git/factor 2007-11-05 15:34:03 -05:00
Slava Pestov 0b4219e2f0 Fix ARM %prepare-primitive 2007-11-05 13:39:34 -05:00
Slava Pestov 855c444ec5 Heap unit test fixes 2007-11-05 12:48:22 -05:00
Slava Pestov d481f1480c Further heap cleanups 2007-11-05 12:35:44 -05:00
Doug Coleman 478af8e51c Store ms/continuation pairs in the sleep queue instead of tuples
Updated for new heaps
2007-11-05 11:11:09 -06:00
Doug Coleman 29afe48d32 Update heaps to store key/value pairs instead of objects comparable by <=>
Update docs
Add heap-length
2007-11-05 11:10:26 -06:00
Slava Pestov 7751d49ffe Doc fixes 2007-11-05 11:11:48 -05:00
Slava Pestov 599f1c6087 Finish cleaning up erg's changes, remove queues 2007-11-05 11:01:11 -05:00
Doug Coleman 18a554ad4d Merge git://factorcode.org/git/factor
Conflicts:

	extra/concurrency/concurrency.factor
2007-11-05 02:24:32 -06:00
Doug Coleman 6c8808dd8d Check in core/dlists 2007-11-05 01:43:29 -06:00
Doug Coleman b8561fdc1d Change heap words in core/threads 2007-11-05 01:43:04 -06:00
Doug Coleman 1a86c5fd85 Move heaps to core/
Document heaps
Renamed a lot of heaps words -- pop-heap -> heap-pop
2007-11-05 01:42:37 -06:00
Doug Coleman f301d36535 Move dlists to core/
Delete heaps
2007-11-05 01:41:23 -06:00
Slava Pestov 86f98eac40 Deploy generates a stage1 image now if necessary 2007-11-05 01:37:07 -05:00
Slava Pestov 6d2f1bc4bd Rename parent-dir to parent-directory, add copy-file and copy-directory words, start Windows deploy tool 2007-11-05 00:45:02 -05:00
Slava Pestov b2d2b47610 ARM fixes 2007-11-04 23:18:05 -05:00
Slava Pestov 5666e7278a Merge branch 'master' of git://factorcode.org/git/factor 2007-11-04 23:17:40 -05:00
Slava Pestov 943fe1b6cf Deploy tool fixes 2007-11-04 21:24:08 -05:00
Slava Pestov 869434eb78 Merge branch 'master' of git://factorcode.org/git/factor 2007-11-04 18:14:48 -05:00
Slava Pestov 613cdb9429 Documentation updates 2007-11-04 18:05:49 -05:00
Slava Pestov dfeb154bb1 Change unfold word 2007-11-04 17:32:01 -05:00
Slava Pestov 83190f4680 Fix using in bootstra.ui.tools 2007-11-03 15:41:39 -04:00
Slava Pestov a7a6fbec36 Merge commit 'erg/master' 2007-11-03 15:39:43 -04:00
Slava Pestov fe9563ece2 Move io.buffers to extra 2007-11-03 15:38:45 -04:00
Doug Coleman c3efd8a60d Move heaps to core/ 2007-11-02 14:41:19 -05:00
Slava Pestov b31440a574 Fix deployment, remove image compression since its useless and broken 2007-11-02 14:26:04 -04:00
Slava Pestov d91165a32b Fix dispatch on ARM 2007-11-02 04:12:41 -05:00
Slava Pestov 824f11af00 bootstrap.ui fix 2007-11-02 04:53:23 -04:00
Slava Pestov ee9fafd183 ARM fixes 2007-11-02 03:52:48 -05:00
Slava Pestov 59f197df9a Merge commit 'erg/master' 2007-11-01 19:51:57 -04:00
Slava Pestov 8c87610fc6 Improved deploy tool 2007-11-01 13:50:02 -04:00
Marie-Pascal 79e81994ad Remove math.ratios dependencyfrom cpu.x86 2007-10-31 21:51:54 -04:00
Marie-Pascal 06519ea482 Remove math.ratios dependencyfrom alien.compiler 2007-10-31 21:51:38 -04:00
Doug Coleman 7563e4b61e Change the sleep-queue to use a min-heap to get better performance 2007-10-31 16:00:59 -05:00
Slava Pestov edca458b09 x86.64 backend improvements 2007-10-30 01:46:41 -04:00
Slava Pestov 2454135fd3 Fix stack overflow when taking hashcode of hashtables with circular structure 2007-10-29 02:18:23 -04:00
Slava Pestov 77cbc56873 Update x86.32 backend for profiler changes 2007-10-29 01:17:44 -05:00
Slava Pestov fa126b0b72 Makefile update 2007-10-29 01:46:34 -04:00
Slava Pestov d124669dc5 Merge git://factorcode.org/git/factor 2007-10-29 01:31:58 -04:00
Slava Pestov 042f6bf88e Merge branch 'master' of git://factorcode.org/git/factor 2007-10-29 00:21:00 -05:00
Slava Pestov 0586d7556c ARM intrinsics fixes 2007-10-29 00:15:14 -05:00
Slava Pestov 2e78ce3d4a Profiler fixes 2007-10-29 01:12:27 -04:00
Slava Pestov ef22d57ef6 Improved profiler doesn't require all words to be recompiled to enable/disable 2007-10-28 04:33:36 -04:00
Slava Pestov 5cf331a345 Cleanup 2007-10-27 14:43:17 -04:00
Slava Pestov 5fb227926c Fix odd hashtable growing behavior 2007-10-26 03:59:36 -04:00
Slava Pestov 55ecc4b2bc Fix ARM backend problem with large words 2007-10-25 18:09:54 -04:00
Slava Pestov 588da9ab15 Documentation updates 2007-10-24 02:24:17 -04:00
Slava Pestov 850c145a09 Fix bootstrap hang 2007-10-24 02:01:43 -04:00
Slava Pestov de0808320e Fix ltrim/rtrim, get extra/ to load after number tower changes 2007-10-21 17:37:50 -04:00
U-SLAVA-FB3999113\Slava 024cf03a1b Resolve conflict 2007-10-21 15:28:35 -04:00
U-SLAVA-FB3999113\Slava 507d0ca150 More ARM fixes 2007-10-21 15:18:31 -04:00
Slava Pestov 1ccca6cac0 Rename prettyprint:break to prettyprint:line-break 2007-10-18 14:38:00 -04:00
U-SLAVA-FB3999113\Slava 0754b991e5 Fix overly-general method definitions in cpu.x86.64 2007-10-18 02:41:03 -04:00
U-SLAVA-FB3999113\Slava f529d3d2d2 Load fixes for core/math 2007-10-18 02:38:35 -04:00
U-SLAVA-FB3999113\Slava b841dcc159 Further progress on the ARM backend 2007-10-18 02:37:52 -04:00
Slava Pestov 1d8bd74d0f new unfold word 2007-10-16 04:15:16 -04:00
Slava d744630f41 Fix MOVSX opcode in x86 assembler 2007-10-16 00:53:13 -04:00
U-SLAVA-FB3999113\Slava bf82687051 More ARM changes 2007-10-15 19:59:35 -04:00
U-SLAVA-FB3999113\Slava b4b4c599c6 Updating ARM optimizing compiler backend 2007-10-15 19:59:03 -04: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 047c8fe708 Bootstrap fixes 2007-10-14 20:44:19 -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
U-SLAVA-FB3999113\Slava 4d30644576 Got various things working on CE/ARM 2007-10-13 17:57:29 -04:00
U-SLAVA-FB3999113\Slava 8d358ea370 core/cpu/ppc cleanup 2007-10-13 00:57:40 -04:00
U-SLAVA-FB3999113\Slava de7e596622 Fix trailing whitespace 2007-10-13 00:57:24 -04:00
Slava Pestov 4192413861 Change cut stack effect 2007-10-12 16:30:36 -04:00
Slava Pestov c84ba1d76b Fix define-transform bug 2007-10-10 01:53:55 -04:00