Commit Graph

152 Commits (8755f0bba0a5af31d9ba0f8710609da2cc7705c0)

Author SHA1 Message Date
Slava Pestov 45429fed2f Minor doc clarification 2008-12-17 15:02:06 -06:00
Slava Pestov 63fda570bf Fixing assorted compile errors and help lint warnings 2008-12-16 01:12:36 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Doug Coleman 37b9a350cc swap ... 3append -> surround in core 2008-12-06 18:42:41 -06:00
Slava Pestov f51708386d Fix conflicts 2008-12-01 20:39:43 -06:00
Slava Pestov 52c5b53e27 Refactoring usages of >r, r>, -rot, rot 2008-11-30 22:21:37 -06:00
Slava Pestov e8a69a3aea Fix conflict 2008-11-29 05:14:49 -06:00
Slava Pestov a4d9cdfeb3 Refactor all usages of >r/r> in core to use dip, 2dip, 3dip
Non-optimizing compiler now special-cases dip, 2dip, 3dip following a
literal quotation: this allows us to break the dip/slip meta-circle
without explicit calls to >r/r>
2008-11-23 02:44:56 -06:00
Slava Pestov 2a0c92eb89 Use assoc-filter-as 2008-11-23 01:01:21 -06:00
Slava Pestov f0716b3a0d 1% image size reduction by not storing empty compiled-generic-uses and compiled-uses props 2008-11-22 22:46:57 -06:00
Slava Pestov 2fe364a7bb Specialized arrays work in progress 2008-11-14 20:18:16 -06:00
Slava Pestov 4858a2ea74 Simplify inline? now that generic words can't be inline anymore 2008-11-13 09:33:18 -06:00
Slava Pestov 63a9975a0e Support inline, foldable, flushable on methods; add declarations in a couple of places for ricing purposes 2008-11-06 13:13:37 -06:00
Slava Pestov 4fd1767768 Old fix for classes-intersect? no-method bug was incorrect; we were
ignoring anonymous classes in compiled-generic-crossref. Also,
forget* now calls reset-word so that references to predicates of
forgotten classes don't break the compiler with a similar error.
2008-11-05 18:32:02 -06:00
Slava Pestov dc85ed3d56 Fix help lint: links to obsolete article 2008-11-03 08:08:28 -06:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 8cb3c1eb5e Literal hashtables now cross-referenced 2008-10-01 03:12:35 -05:00
Slava Pestov f5fbd94a4c New compiled crossref implementation 2008-08-31 01:34:00 -05:00
Slava Pestov 3cef7c9992 Smarter usage tracking system 2008-08-30 02:31:27 -05:00
Slava Pestov 85cdb1b767 Working on new compiled usage strategy; old one was wrong 2008-08-30 00:05:27 -05:00
Slava Pestov 57cbe62046 Quick doc fixes 2008-08-29 16:55:15 -05:00
Slava Pestov 91059b4ad6 Documentation update 2008-08-23 20:24:54 -05:00
Slava Pestov 8b855b2445 Help lint fixes 2008-08-22 23:00:35 -05:00
Slava Pestov 4cb64aaeb8 Fixing unit tests for eval word being moved 2008-07-29 00:05:01 -05:00
Slava Pestov c6915b1023 Working on tuple slot propagation 2008-07-25 02:07:45 -05:00
Slava Pestov ac2bf0b87d Adding inline recursive declarations 2008-07-18 19:22:59 -05:00
Slava Pestov 817035099c Fix erg's tuple definition bugs 2008-07-13 21:06:50 -05:00
Slava Pestov a876005c98 Clean up non optimizing compiler, rewrite more primitives in assembly 2008-07-11 17:25:46 -05:00
Slava Pestov b36e06d0d6 Builtinn types now use new slot accessors; tuple slot type declaration work in progress 2008-06-28 02:36:20 -05:00
Slava Pestov 685d53e264 Add gather word; faster 'implementors' using inverted index 2008-06-12 05:49:46 -05:00
Slava Pestov b919346681 Minor optimization 2008-06-11 18:53:56 -05:00
Slava Pestov c95851e34f Bug fixes and cleanups 2008-06-11 02:58:38 -05:00
Slava Pestov ba8f1388ab Fixing everything for mandatory stack effects 2008-06-09 02:14:14 -05:00
Slava Pestov 9dd5c9919f Mandatory stack effect annotations 2008-06-08 15:32:55 -05:00
Slava Pestov 014d2ea31c Cleaning up and debugging corss-referencing 2008-06-06 20:47:09 -05:00
Slava Pestov ec71ee0940 Bug fixes 2008-05-28 19:34:18 -05:00
Slava Pestov e13be8ce3f Use unique word 2008-05-11 13:07:07 -05:00
Slava Pestov c6bf45c07d Stylistic change 2008-05-09 17:11:30 -05:00
Slava Pestov 9a5d34ae7b Fix conflicts 2008-04-27 03:19:41 -05:00
Slava Pestov 7a7d7be324 Fix typo in documentation 2008-04-27 03:15:31 -05:00
Doug Coleman e264537a1a reverse the arguments of diff, assoc-diff
fix lots of usings
fix help-lint
2008-04-26 02:01:06 -05:00
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 615f7057e4 Omit tuple dispatch engines from usage listings 2008-04-12 19:05:06 -05:00
Doug Coleman 723696fa32 update docs on gensym 2008-04-11 13:04:21 -05:00
Doug Coleman 9348b9b8a7 gensyms don't output a number in the name now 2008-04-11 12:52:56 -05:00
Slava Pestov f7f43fa689 ABOUT: updates vocabulary 2008-04-05 07:00:09 -05:00
Slava Pestov 8d39853248 Merge branch 'master' of git://factorcode.org/git/factor 2008-04-04 07:09:21 -05:00
Slava Pestov 3a374f2045 Fix amazing performance regression 2008-04-04 07:08:03 -05:00
Slava Pestov 82fc8f18db Converting core to use inheritance 2008-04-04 03:46:30 -05:00
Slava Pestov 16377be935 Use call-next-method 2008-04-03 05:57:20 -05:00
Slava Pestov 5346e1899f Working on call-next-method, and identity-tuple 2008-04-02 21:27:49 -05:00
Slava Pestov 8fde3fb914 More inheritance debugging 2008-04-02 18:50:21 -05:00
Slava Pestov adb1dd14d0 Rename tuples vocab to classes.tuple for consistency 2008-03-29 03:34:48 -05:00
Slava Pestov 690621ffb6 Change PREDICATE: syntax 2008-03-26 18:23:19 -05:00
Doug Coleman 936bd26a3a update core/ to use ERROR: 2008-03-20 15:00:49 -05:00
Slava Pestov 993a647ccc Parser fixes 2008-03-18 21:43:29 -05:00
Slava Pestov ec698b7f53 Parser overhaul 2008-03-16 02:43:00 -05:00
Slava Pestov 32526206f1 Help fixes 2008-03-11 19:51:58 -05:00
Slava Pestov 6574009e03 Fix merge conflicts 2008-03-06 13:54:15 -06:00
dharmatech a336cb7570 Unit test fixes 2008-03-06 13:46:15 -06:00
Daniel Ehrenberg 5805db7ac4 Merge branch 'master' of git://factorcode.org/git/factor into unicode
Conflicts:

	extra/http/client/client.factor
	extra/http/server/server.factor
	extra/http/server/templating/templating.factor
	extra/webapps/cgi/cgi.factor
	extra/webapps/file/file.factor
	extra/webapps/source/source.factor
2008-03-05 17:04:43 -06:00
Daniel Ehrenberg 4c9ef7946d Merge branch 'master' of git://factorcode.org/git/factor into unicode
Conflicts:

	extra/benchmark/sockets/sockets.factor
2008-03-05 16:57:06 -06:00
Slava Pestov b6b8ab32b5 Fixing unit tests 2008-03-05 16:24:32 -06:00
Slava Pestov 3c98385c11 Fixes for recent method tuple cleanup 2008-03-05 16:00:34 -06:00
Slava Pestov 18d8f449b9 Remove unnecessary method tuple, move its slots to word properties 2008-03-04 22:13:30 -06:00
Daniel Ehrenberg c5eec0ba10 Merge branch 'master' of git://factorcode.org/git/factor into unicode
Conflicts:

	core/io/files/files-tests.factor
	core/io/files/files.factor
	core/io/io-tests.factor
	core/io/streams/c/c-tests.factor
	core/io/streams/lines/lines-tests.factor
	core/source-files/source-files.factor
	extra/benchmark/sockets/sockets.factor
	extra/http/server/templating/templating-tests.factor
	extra/http/server/templating/templating.factor
	extra/io/launcher/launcher.factor
	extra/io/mmap/mmap-tests.factor
	extra/io/unix/launcher/launcher.factor
	extra/io/unix/unix-tests.factor
2008-03-04 17:51:40 -06:00
Slava Pestov e98cd1fd59 New convention for unit tests 2008-03-01 17:00:45 -05:00
Daniel Ehrenberg 52f04dcfa4 Fix unit tests 2008-02-26 01:24:40 -06:00
Slava Pestov 84016a36c0 Regression fixes 2008-02-25 19:37:43 -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 bb3468dc2b Fixing interaction between mixin classes and forget 2008-02-17 17:08:16 -06:00
Slava Pestov f944f2b20c Add experimental disassembler 2008-02-14 17:56:47 -06:00
Slava Pestov 98d8621ac1 First class compose, curry is now a tuple class 2008-02-11 13:50:29 -06:00
Slava Pestov f7ca140c23 Fix compiled-xref 2008-02-06 13:51:16 -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 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 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 ed29e2e5aa Notify definition-observers when words are forgotten 2008-01-09 17:51:55 -04: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 b7327b6228 Redo the profiler 2008-01-02 20:36:36 -04:00
Slava Pestov 78ae930a33 Documentation updates 2007-12-30 16:09:21 -05:00
Slava Pestov e1be77ee6f Documentation updates 2007-12-30 15:08:48 -05:00
Slava Pestov e58cbb2cda : spin swap rot ; 2007-12-29 11:36:20 -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 c5d91d12df Fix implementation of deferred words 2007-12-26 20:40:46 -05:00
Slava Pestov 1b9e04fdc5 Deferred words are now compound words 2007-12-26 17:28:34 -05:00
Slava Pestov 423c22e4ef Symbols are compound defs now; SYMBOL: foo == : foo \ foo ; 2007-12-25 22:55:17 -05:00
Slava Pestov 32641f04e7 Remove intern-symbol 2007-12-25 18:10:05 -05:00
Slava Pestov 6814e07f49 Unit test fixes 2007-12-24 19:40:09 -05:00
Slava Pestov 07a4022d62 Parser, definitions, source-files refactoring work in progress 2007-12-21 21:18:24 -05:00
Slava Pestov c9646d20c5 Working on smarter recompilation 2007-12-16 15:17:28 -05:00
Slava Pestov a90434696d Doc fix 2007-11-16 03:27:05 -05:00