Commit Graph

255 Commits (cbdd559a759b5aef9b1c97d8b69a29e159d14ae1)

Author SHA1 Message Date
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 030b1b816c Add inline declarations for various assorted methods 2009-08-17 22:32:21 -05:00
Brad Christensen f8405e9c55 A number of documentation fixes.
* Short-circuit combinators now show correct stack effect for quots
 * Groups and Clumps unchecked examples corrected, made runnable in listener
 * Class operations had duplicate link to class-types
 * Protocol slots readability fixed
 * Tuple word property for "tuple-layout" corrected to "layout"
 * cond>quot sentence started in lowercase
 * Method precedence code example missing stack effect for GENERIC:, M: integer explain changed to detail an integer
 * Motivation for default streams readability
 * Default input and output streams duplicate readln link removed from output stream words section
 * Looping combinators do description clarified
 * Make philosophy missing space
 * Linear order protocol duplicate after? link removed
 * Parsing words readability fix
 * Copied note regarding with-compilation-unit from define to define-declared and define-inline
2009-08-10 23:34:25 -07:00
Slava Pestov fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Slava Pestov 65faa3fda3 Fix unit tests and load errors for slip removal 2009-05-10 17:03:41 -05:00
Slava Pestov f6ff74596e Removing slip 2slip 3slip nslip 2009-05-10 16:39:17 -05:00
Doug Coleman 0ad6d1fb7b add a few usages of iota, remove most 1+ and 1- from core 2009-05-01 19:58:24 -05:00
Slava Pestov 7e84daf0f1 Move (execute) to kernel.private 2009-04-26 02:42:37 -05:00
Slava Pestov ba40acda28 Merge Joe Groff's booleans vocab into kernel 2009-04-23 22:39:31 -05:00
Slava Pestov 8432c30ed1 Fix docs 2009-04-22 21:20:36 -05:00
Slava Pestov 3353a777f7 Fixing some unit test failures 2009-04-22 07:05:00 -05:00
Doug Coleman 364ea217ef fix more compiler errors 2009-04-17 14:44:08 -05:00
Slava Pestov 99b8400e56 Documentation updates 2009-04-06 03:00:46 -05:00
Slava Pestov 6c0986f8b2 Add definition mixin in definitions vocab to replace hard-coded union in ui.tools.operations; add ?execute to kernel to replace dup word? [ execute ] when calls in unicode.breaks and opengl 2009-03-26 21:27:45 -05:00
Slava Pestov 356bff6424 kernel doesn't need to depend on classes.tuple.private 2009-03-23 01:18:39 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Slava Pestov 667eca9410 Fix unit tests and help lint for 'see' move 2009-03-11 17:33:54 -05:00
Slava Pestov 25a877e50b Merge OneEyed's patch 2009-02-28 17:06:55 -06:00
Slava Pestov cd53c2bd37 produce and produce-as: don't need third quotation either 2009-02-28 15:31:34 -06:00
Slava Pestov 78ce670101 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-02-28 14:42:56 -06:00
Slava Pestov c8d5e98898 Fix conflicts 2009-02-26 03:12:19 -06:00
Slava Pestov 4426526252 Fixing some things I broke 2009-02-25 23:30:30 -06:00
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Samuel Tardieu 3c859a77bf Simplify most 2009-02-18 01:56:54 +01:00
Slava Pestov d147b98cfe Documentation improvements 2009-02-17 04:57:02 -06:00
Slava Pestov 312bf5939e Fix conflict 2009-02-12 04:45:45 -06:00
Slava Pestov a550c9874c kernel: add {bi,tri}-curry{,*,@} combinators from new_ui branch 2009-02-12 04:23:35 -06:00
Slava Pestov 67eef761bb kernel: cleanup 2009-02-12 04:14:05 -06:00
Slava Pestov e5f21545dd Start writing some docs for curried dataflow combinators 2009-02-11 04:57:46 -06:00
Slava Pestov 0684a9b7b0 Merge branch 'master' into new_ui 2009-02-09 18:16:14 -06:00
Daniel Ehrenberg 975f197558 Fixing help-lint bugs 2009-02-09 14:37:22 -06:00
Slava Pestov c04ee453e3 Merge branch 'master' into new_ui 2009-02-06 11:10:55 -06:00
Slava Pestov d1486589ef Improving macro docs 2009-02-06 10:22:09 -06:00
Slava Pestov aed691dab3 Clean up kernel vocab 2009-02-06 05:12:30 -06:00
Slava Pestov 1bbabcd5e1 Remove some usages of slip combinators from the core 2009-02-05 03:29:59 -06:00
Slava Pestov 669548e62e Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary 2009-02-02 13:43:54 -06:00
Slava Pestov 4513417657 Clean up some messy stack shuffling 2009-02-01 19:14:43 -06:00
Slava Pestov 7780c5d983 Fix two small typos 2009-01-27 05:05:46 -06:00
Slava Pestov a9ef525aed Help lint fixes for stricter help lint 2009-01-27 04:12:37 -06:00
Slava Pestov 92f9338978 Smart quotes 2009-01-26 23:20:27 -06:00
Slava Pestov ca2f01e0d0 Updating non-core libraries for monotonic? change 2009-01-16 17:02:54 -06:00
Slava Pestov c47f14afcd Add link 2009-01-07 21:20:05 -06:00
Slava Pestov af49278d3f Add 2tri* and 2tri@ combinators, clean up (3each), and fix failing unit test for 3map 2009-01-05 18:12:34 -06:00
unknown 99c6a9f31d Fix kernel unit tests on Win64 2008-12-21 18:52:13 -06:00
Slava Pestov 5fdb474c76 Fixing various test failures and updating some more vocabs for >r/r> removal 2008-12-17 22:29:32 -06:00
Slava Pestov b154b21aaa Add new until combinator, and a new do word which acts like a modifier: do while, do until for loops which iterate at least once 2008-12-08 23:37:18 -06:00
Slava Pestov a56d480aa6 Various optimizations leading to a 10% speedup on compiling empty EBNF parser:
- open-code getenv primitive
- inline tuple predicates in finalization
- faster partial dispatch
- faster built-in type predicates
- faster tuple predicates
- faster lo-tag dispatch
- compile V{ } clone and H{ } clone more efficiently
- add fixnum fast-path to =; avoid indirect branch if two fixnums not eq
- faster >alist on hashtables
2008-12-06 09:16:29 -06:00
Slava Pestov 8db24bdd34 assert-depth now has a static stack effect. This fixes a UI unit test failure 2008-12-05 08:25:26 -06:00
Slava Pestov e304d3c9f8 Local DCE 2008-12-04 06:02:49 -06:00
Slava Pestov 1247ebbac9 Fix typo 2008-12-04 00:28:16 -06:00
Slava Pestov c27faa3de4 Remove 3compose: nothing in core used it, and basis code can use fry 2008-12-02 00:25:23 -06:00
Eduardo Cavazos cb815a965b kernel-docs: Fix '2dip' docs 2008-11-28 12:33:42 -06:00
Slava Pestov 8678ff091f Fix docs for spread and apply combinators 2008-11-24 12:01:20 -06:00
Slava Pestov 1d6e389d18 Fixing walker, adding traceback tests 2008-11-23 21:40:54 -06:00
Slava Pestov 6466ebaed7 Add comment explaining what's going on 2008-11-23 02:46:43 -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 d62a6c4b09 Minor core cleanup 2008-11-18 22:08:02 -06:00
Slava Pestov 9bf63b1613 New $quotation markup element 2008-11-16 09:03:30 -06:00
Slava Pestov e49ee006d1 Fix loop combinator docs 2008-11-11 08:50:48 -06:00
Slava Pestov 1c1333fbe9 Compile not and >boolean as branchless intrinsics by having the CFG builder detect certain code patterns 2008-11-06 09:09:21 -06:00
Slava Pestov af6b8c4e97 Merge branch 'master' into new_codegen 2008-10-20 01:59:52 -05:00
Slava Pestov f721105993 Add 3dip 2008-10-20 01:58:17 -05:00
Slava Pestov c54668596d More efficient hi-tag accessor 2008-10-11 13:58:41 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Doug Coleman fa3999b909 add some docs for loop, move article to the end 2008-09-17 00:18:42 -05:00
Slava Pestov 162faace98 Fix typo in 3bi docs 2008-09-12 16:04:01 -05:00
Slava Pestov 6a1e6d3c08 Fix dispatch bug found by mnestic 2008-09-10 01:45:16 -05:00
Slava Pestov ac97c1e14c Working on removing delegation slot 2008-09-02 23:21:08 -05:00
Doug Coleman 8773d544e7 document assert= 2008-09-02 17:04:13 -05:00
Slava Pestov 110a5e5162 Change equality semantics 2008-09-02 02:02:05 -05:00
Slava Pestov 91059b4ad6 Documentation update 2008-08-23 20:24:54 -05:00
Slava Pestov a4ac751605 Starting to remove delegation 2008-08-22 23:20:49 -05:00
Slava Pestov 73ed573a05 Fix typo in docs 2008-08-10 22:20:14 -05:00
Slava Pestov 9bd8e88318 Minor improvement to xor word 2008-08-01 17:22:58 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00
Slava Pestov c6915b1023 Working on tuple slot propagation 2008-07-25 02:07:45 -05:00
Slava Pestov 53f4d365b7 'not', 'and' are no longer inline to enable compiler optimizations 2008-07-23 00:16:41 -05:00
Slava Pestov ac2bf0b87d Adding inline recursive declarations 2008-07-18 19:22:59 -05:00
Slava Pestov d278025a39 Fix kernel tests 2008-07-11 20:33:08 -05:00
Slava Pestov 300921a026 Add construct-delegate back, some code still uses it 2008-07-11 00:45:53 -05:00
Slava Pestov 64a2b0c7a5 Remove more delegation usage from UI: build-* words, various misc things 2008-07-11 00:01:22 -05:00
Slava Pestov 776b245c39 Cleaning up some usages of -roll 2008-07-08 13:22:57 -05:00
Slava Pestov f7b7001f39 BOA constructors now check types 2008-06-30 01:44:58 -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
U-SLAVA-DFB8FF805\Slava 358c09d204 combinators.lib 3apply is kernel's tri@; remove and update usages 2008-06-27 02:17:19 -05:00
Slava Pestov 685d53e264 Add gather word; faster 'implementors' using inverted index 2008-06-12 05:49:46 -05:00
Slava Pestov 4ca59470ce Minor cleanup 2008-06-07 10:40:40 -05:00
Slava Pestov 7cc553c4b6 Documentation improvements 2008-06-04 19:33:30 -05:00
Slava Pestov 727cfcba43 Move relocation info out of the code heap and into the data heap 2008-05-30 01:31:05 -05:00
Doug Coleman 79da16bc5a 2dip documented, but should we use it in our code? the official stance is "no comment" 2008-05-23 16:47:35 -05:00
Slava Pestov 56852d3ab8 Little cleanups 2008-05-22 15:45:30 -05:00
Slava Pestov 332960adab Doc fix 2008-05-20 18:25:21 -05:00
Slava Pestov 509cf872a8 Update docs 2008-05-14 01:14:52 -05:00
Slava Pestov f9db3f8b50 Documentation updates 2008-05-11 17:42:48 -05:00
Slava Pestov 1f7be9945b Cleanup erg's cleanup 2008-04-28 14:52:03 -05:00
Doug Coleman 61ffc2efe6 better fix is a new boot image. 2008-04-28 10:36:41 -05:00
Doug Coleman 688202ea1f fix bootstrap 2008-04-28 10:11:26 -05:00
Doug Coleman 09c21f077b add invert-comparison word 2008-04-27 23:23:51 -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
Doug Coleman 30b75a797a construct-boa -> boa
construct-empty -> new
2008-04-13 15:06:09 -05:00
Slava Pestov 225a0fb781 Fix Windows crash with set-os-envs 2008-04-06 23:31:53 -05:00
Slava Pestov d5667fd4b1 Better hashcodes 2008-04-05 07:35:51 -05:00
Slava Pestov 8f8d78d73d Documentation updates 2008-04-04 09:57:06 -05:00
Slava Pestov 8d39853248 Merge branch 'master' of git://factorcode.org/git/factor 2008-04-04 07:09:21 -05:00
Slava Pestov 9e227d394e Remove redundant code 2008-04-04 05:09:58 -05:00
Slava Pestov 82fc8f18db Converting core to use inheritance 2008-04-04 03:46:30 -05:00
Doug Coleman 1e538ccd03 more docs 2008-04-03 22:16:37 -05:00
Slava Pestov 8245d65a6c Documentation updates 2008-04-03 19:08:34 -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 fa8b578370 Rewriting method dispatch to support inheritance 2008-04-02 00:28:07 -05:00
Slava Pestov 71283f7fc5 Documentation update 2008-03-30 17:21:58 -05:00
Slava Pestov 8bc2589a7a Documentation updates 2008-03-30 08:16:07 -05:00
Slava Pestov 2d19b38683 Documentation fixes 2008-03-30 00:40:43 -05:00
Slava Pestov 8eb55b4c59 More doc fixes 2008-03-29 23:48:06 -05:00
Slava Pestov 48501f1f6e Documentation fixes 2008-03-29 23:11:45 -05:00
Slava Pestov c22af5c7a6 Rename 2apply to bi@ 2008-03-29 20:36:58 -05:00
Slava Pestov adb1dd14d0 Rename tuples vocab to classes.tuple for consistency 2008-03-29 03:34:48 -05:00
Slava Pestov 1f3e6fd0b7 combinators.cleave is now core 2008-03-28 23:00:20 -05:00
Slava Pestov e1ad21a439 Working on shapes 2008-03-26 03:57:48 -05:00
Slava Pestov b6fece6314 Doc fixes 2008-03-15 06:22:29 -05:00
Slava Pestov 8226f8b295 Documentation updaet 2008-03-12 02:36:42 -05:00
Slava Pestov 32526206f1 Help fixes 2008-03-11 19:51:58 -05:00
Slava Pestov e98cd1fd59 New convention for unit tests 2008-03-01 17:00:45 -05:00
Slava Pestov 5796a18d59 Update docs 2008-02-26 17:21:38 -06:00
Slava Pestov dd9ace7707 Don't need version number anymore 2008-02-26 15:24:30 -06:00
Eduardo Cavazos a647a02737 kernel-docs: minor fix 2008-02-19 15:57:21 -06:00
Daniel Ehrenberg f6845d43d3 Massive name change in files, string streams 2008-02-15 22:20:31 -06:00
Slava Pestov 98d8621ac1 First class compose, curry is now a tuple class 2008-02-11 13:50:29 -06:00
Slava Pestov e66e6d70e4 Moved dispatch to sequences.private 2008-02-11 01:19:53 -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
Joe Groff c28f6ee6ff Merge git://factorcode.org/git/factor 2008-01-25 07:08:25 -08:00
Joe Groff ff224b791e Fix typo in 3keep documentation 2008-01-20 09:23:33 -08:00
Slava Pestov f138c3675e Fix typo 2008-01-18 19:51:01 -05:00
Slava Pestov 30dec8b0a8 Fix documentation typos 2008-01-18 17:09:55 -05:00
Slava b88d219ff6 Fix x86 2008-01-17 04:03:09 -05:00
Slava Pestov 472cde4f75 Add unit test for regression 2008-01-13 18:52:14 -05:00
Doug Coleman 84891e2591 pick pick -> 2over
minor cleanups
2008-01-11 12:02:44 -10:00
Slava Pestov c8360f5ae5 Rename curry* to with 2008-01-09 17:36:30 -05:00
Slava Pestov b7327b6228 Redo the profiler 2008-01-02 20:36:36 -04: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 7c75697ff3 Assorted fixes 2007-12-24 20:56:23 -05:00
Slava Pestov 07a4022d62 Parser, definitions, source-files refactoring work in progress 2007-12-21 21:18:24 -05:00
Slava Pestov fda9958ab4 Starting 0.92 2007-12-13 15:15:54 -05:00
Slava Pestov d7217801c3 Documentation fixes 2007-12-11 22:36:40 -05:00
Slava Pestov ede01d8398 Fixes 2007-11-28 14:04:29 -05:00
Slava Pestov 613cdb9429 Documentation updates 2007-11-04 18:05:49 -05:00
Slava Pestov 1d8bd74d0f new unfold word 2007-10-16 04:15:16 -04:00