Keith Lazuka
bea4aa7662
docs: updated some docs to use new markup
2009-09-22 15:22:34 -04:00
Slava Pestov
6b502f6fe5
combinators: clarify docs
2009-09-17 14:07:08 -07:00
Slava Pestov
ab45402d04
Minor doc improvements
2009-08-31 05:46:57 -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
Doug Coleman
eb61ffc56d
use itoa in more places
2009-08-02 18:18:31 -05:00
Joe Groff
7392013d46
to-fixed-point combinator + docs
2009-08-02 09:51:15 -05:00
Doug Coleman
3722c0ad62
move some words to private vocabs
2009-05-25 15:35:50 -05:00
Slava Pestov
66a9416473
Update documentation for stricter vocabulary search path semantics
2009-05-16 00:29:21 -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
9d1c4f39a8
Some gold plating
2009-05-01 02:03:22 -05:00
Slava Pestov
5f6c074edd
Split up types.c/h into smaller files, remove optimized slot from F_WORD struct
2009-04-28 17:26:11 -05:00
Slava Pestov
ba40acda28
Merge Joe Groff's booleans vocab into kernel
2009-04-23 22:39:31 -05:00
Slava Pestov
c2fe2a4fea
Improve stack checker documentation
2009-04-23 03:48:32 -05:00
Slava Pestov
05f3f9dcb9
Fixing unit tests for stack effect inference changes
2009-04-20 21:15:19 -05:00
Slava Pestov
ec72f33fcb
Documentation updates
2009-04-20 02:23:52 -05:00
Doug Coleman
364ea217ef
fix more compiler errors
2009-04-17 14:44:08 -05:00
Slava Pestov
e595576dc3
Make more words infer
2009-04-12 23:01:14 -05:00
Slava Pestov
99b8400e56
Documentation updates
2009-04-06 03:00:46 -05:00
Slava Pestov
723bfab030
Fixing unit tests for syntax change
2009-03-23 00:34:02 -05:00
Slava Pestov
2ed97f5a24
Various fixes for call(
2009-03-17 18:53:44 -05:00
Slava Pestov
be4fb1e7d9
Move call( and execute( to core
2009-03-16 20:11:36 -05:00
Doug Coleman
a6b40707df
use CONSTANT: in core/
2009-02-22 19:09:49 -06:00
Slava Pestov
6b25e99470
Add summary for heaps more vocabs
2009-02-16 21:05:13 -06:00
Doug Coleman
8bad9f014a
case now throws the value it can't find
2009-02-10 16:59:55 -06:00
Slava Pestov
cd77ecfab3
'case' didn't work if the default was a non-quotation callable, like a curry; this could come up with macro expansion. Bug reported by Dan
2009-02-04 02:41:30 -06:00
Doug Coleman
3c408342ef
renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail
2009-01-29 22:19:07 -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
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
51a2aa6037
Tweak case>quot so that it works with lambdas
2008-11-25 23:04:13 -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
420ff0a447
Fry now throws a parse time error if it detects >r r> usage, tweak fry to better interact with locals
2008-11-21 05:17:51 -06:00
Slava Pestov
9bf63b1613
New $quotation markup element
2008-11-16 09:03:30 -06:00
Slava Pestov
57cf756c0e
Use eq? instead of number= in a few places
2008-11-11 23:04:15 -06:00
Slava Pestov
225097a5d3
Fix some bugs in locals
2008-10-17 16:54:07 -05:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Doug Coleman
dfeb610555
document and fix stack effect for 2cleave, 3cleave
2008-09-05 17:27:10 -05:00
Slava Pestov
8b855b2445
Help lint fixes
2008-08-22 23:00:35 -05:00
Slava Pestov
95657e5742
Remove some funny retain stack usage
2008-08-18 20:13:24 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00
Slava Pestov
6333223a2e
Move with-datastack to contiinuations vocab, make it compile
2008-07-22 21:25:49 -05:00
Slava Pestov
ac2bf0b87d
Adding inline recursive declarations
2008-07-18 19:22:59 -05:00
Slava Pestov
f7b7001f39
BOA constructors now check types
2008-06-30 01:44:58 -05:00
Slava Pestov
0be00f03e6
Mirrors now check sot t slot types, support type coercion for setters, instance? now infers, better transform for 'new', more efficient 'case' where keys are all wrappers
2008-06-29 02:12:44 -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
727cfcba43
Move relocation info out of the code heap and into the data heap
2008-05-30 01:31:05 -05:00
Slava Pestov
5cb13132af
adjoin and conjoin words added
2008-05-25 19:44:37 -05:00
Slava Pestov
a145d1bac3
Fix typo
2008-04-30 04:53:11 -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
f1113b7c2a
Fix case bug
2008-04-22 16:29:10 -05:00
Doug Coleman
4597cab824
move some words to sets
...
write docs for sets
started on usings..
2008-04-14 02:20:37 -05:00
Doug Coleman
ce57aca4f5
case now executes its keys if they are words
...
cond now accepts a default quotation
2008-04-11 12:51:50 -05:00
Slava Pestov
f7f7972756
Sequence equality on slices and reversals
2008-04-07 20:07:03 -05:00
Slava Pestov
fa8b578370
Rewriting method dispatch to support inheritance
2008-04-02 00:28:07 -05:00
Slava Pestov
8f3fd992a1
Merge branch 'master' of git://factorcode.org/git/factor
2008-04-01 01:40:37 -05:00
Slava Pestov
38cb4f13b6
Add 3cleave
2008-04-01 01:40:12 -05:00
Eduardo Cavazos
aa40350aa7
replace add* and add with prefix and suffix
2008-03-31 18:18:05 -06:00
Slava Pestov
2d19b38683
Documentation fixes
2008-03-30 00:40:43 -05:00
Slava Pestov
48501f1f6e
Documentation fixes
2008-03-29 23:11:45 -05:00
Slava Pestov
aec04edbda
Phasing out get-slots and cleaning up some code
2008-03-29 00:59:05 -05:00
Slava Pestov
ea45fe2b45
Move more cleave stuff into core
2008-03-28 23:38:03 -05:00
Doug Coleman
936bd26a3a
update core/ to use ERROR:
2008-03-20 15:00:49 -05:00
Doug Coleman
d0b348591a
path+, prepend
2008-03-19 19:15:43 -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
2c73e72e5e
case now optimizes contiguous integer ranges
2008-02-14 01:03:57 -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
Slava Pestov
c8360f5ae5
Rename curry* to with
2008-01-09 17:36:30 -05:00
Slava Pestov
e58cbb2cda
: spin swap rot ;
2007-12-29 11:36:20 -05:00
Slava Pestov
4ade825fc6
Open-code member? test
2007-12-08 17:45:51 -05:00
Slava Pestov
48026c7d8d
Improve sequence hash algorithm
2007-11-21 03:13:23 -05:00
Slava Pestov
5e2c7e769d
Clean up inference and fix hygiene issue with macros
2007-09-27 04:00:54 -04:00
Slava Pestov
a96457cecc
Initial import
2007-09-20 18:09:08 -04:00