Slava Pestov
|
c14f0ef698
|
classes.union: unions of built-in types now have more efficient predicates. Fixes #292
|
2011-10-29 17:11:03 -07:00 |
Doug Coleman
|
df64529fb5
|
Forget some classes after unit tests so that running "classes" test succeeds multiple times in a row
|
2011-10-24 16:59:46 -07:00 |
Doug Coleman
|
f9257959fd
|
Rename class to class-of
|
2011-10-24 06:47:42 -05:00 |
John Benediktsson
|
5a943b32c4
|
Remove stack effects from HELP: declarations.
|
2011-10-20 19:36:11 -07:00 |
John Benediktsson
|
80e1c8e3f2
|
Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed.
|
2011-10-18 13:19:39 -07:00 |
John Benediktsson
|
378786599d
|
Cleanup lint warnings.
|
2011-10-14 11:47:24 -07:00 |
Doug Coleman
|
cca76e0f6e
|
Rename forget-struct-slot-accessors -> forget-slot-accessors
|
2011-10-06 13:21:18 -07:00 |
John Benediktsson
|
7a4ffd92ed
|
classes.tuple: can't assume hashcode* returns fixnum.
|
2011-10-06 11:53:50 -07:00 |
Doug Coleman
|
be3eebf719
|
Document reset-class, forget-class, forget-method. Use lookup-method in see, fix gpu.render for method->lookup-method renaming. Fixes #232.
|
2011-10-04 10:40:48 -07:00 |
Doug Coleman
|
181f11faa8
|
Make M\ throw an error upon lookup failure. Change method -> ?lookup-method, lookup-method is the throwing version of ?lookup-method. Fixes #229.
|
2011-10-03 15:49:49 -07:00 |
Doug Coleman
|
8504b17aad
|
Rename spread>quot to deep-spread>quot, and spread>quot-shallow to shallow-spread>quot.
|
2011-10-02 20:25:39 -07:00 |
Doug Coleman
|
38feae0e8f
|
Spread now infers with the correct stack effect. Make spread>quot-shallow which trims empty quotations off the head of the spread sequence. Fixes #139.
|
2011-10-02 18:35:01 -07:00 |
John Benediktsson
|
195d5834d4
|
classes.tuple: switch to python's tuplehash(). Fixes #153.
|
2011-10-02 13:49:45 -07:00 |
Doug Coleman
|
671f19d70f
|
Remove all non-core uses of (scan-token)
Add scan-datum
Add scan-number
Document more words
Fixes #225.
|
2011-10-02 12:00:08 -07:00 |
Doug Coleman
|
76580da5d5
|
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183.
Fixes #209.
|
2011-09-29 11:28:28 -07:00 |
John Benediktsson
|
86923107db
|
classes.tuple: error-class should call-next-method before resetting itself.
|
2011-09-26 11:54:55 -07:00 |
John Benediktsson
|
f099cd5b4c
|
classes.tuple: adding test cases for error-class and support forget-class.
|
2011-09-26 11:00:32 -07:00 |
John Benediktsson
|
7ef1aecf88
|
Defining an "error-class", and printing error tuples out with ERROR:. See #188.
|
2011-09-26 11:00:32 -07:00 |
John Benediktsson
|
d142dbb456
|
Revert "classes.singleton: fix "summary" of singletons. Fixes #145."
This reverts commit d820c86974 .
|
2011-09-19 17:46:52 -07:00 |
John Benediktsson
|
ac75393fbd
|
Revert "classes.mixin: fix definitions for MIXIN:."
This reverts commit f625612f89 .
|
2011-09-19 17:46:40 -07:00 |
John Benediktsson
|
8827cbdba1
|
classes.mixin: fix definitions for MIXIN:.
|
2011-09-19 17:22:50 -07:00 |
John Benediktsson
|
46c417370f
|
classes.singleton: fix "summary" of singletons. Fixes #145.
|
2011-09-19 16:49:11 -07:00 |
Doug Coleman
|
035cc310d9
|
Fix for parser-notes? being removed
|
2011-09-07 04:59:35 -05:00 |
John Benediktsson
|
9f34c9c676
|
Spelling fixes to documentation.
|
2011-08-26 16:20:31 -07:00 |
otoburb
|
107d9dd385
|
Tuple subclassing help article: Fixed typo
|
2011-03-24 04:48:48 +00:00 |
Keita Haga
|
073eda332a
|
In several documentation, remove whitespace before or after the colon or period
|
2011-02-10 01:51:13 +09:00 |
Keita Haga
|
a2ad751f83
|
classes.tuple: minor fix to $errors section in the boa word's help page
|
2011-01-26 21:26:12 +09:00 |
Keita Haga
|
8f92ca2d47
|
classes.algebra, grouping, parser: replace 'seqence' with 'sequence' in docs
|
2011-01-04 21:02:11 +09:00 |
Keita Haga
|
f0d22c7162
|
classes.tuple: minor fixes in tuple-examples article
|
2010-12-05 21:27:25 +09:00 |
Mitchell N Charity
|
8a269f56a4
|
algebra-docs: fix a typo
|
2010-09-09 17:39:11 -04:00 |
Slava Pestov
|
30dea58330
|
classes: remove fragile unit test
|
2010-08-21 18:10:09 -07:00 |
Slava Pestov
|
0f4c5d2bff
|
classes.algebra: make it work better to fix bug reported by Sascha Matzke
|
2010-07-29 19:57:23 -04:00 |
Slava Pestov
|
c04de94b96
|
compiler.tree.finalization: record dependencies on inlined predicates
|
2010-07-23 16:31:15 -07:00 |
Slava Pestov
|
8a0525e5ce
|
Add a scan-token word which is like scan, except throws an error on EOF; document scan-object word; mention that scan-token/scan-object are preferred over scan/scan-word
|
2010-07-06 16:20:08 -04:00 |
Slava Pestov
|
627295f094
|
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
|
2010-05-06 17:21:02 -04:00 |
Daniel Ehrenberg
|
512fe14e4e
|
Merge branch 'bags' of git://github.com/littledan/Factor
Conflicts:
basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
basis/furnace/auth/auth.factor
basis/stack-checker/backend/backend.factor
|
2010-03-16 13:28:00 -04:00 |
Joe Groff
|
18f3df9d4a
|
more help-lint
|
2010-03-09 21:02:43 -08:00 |
Daniel Ehrenberg
|
7364608417
|
Merge branch 'master' of git://factorcode.org/git/factor into bags
|
2010-03-02 17:04:45 -05:00 |
Joe Groff
|
bb58cf4d16
|
classes.tuple.parser: throw bad-slot-name immediately when an invalid slot name in a tuple/struct literal is scanned
|
2010-02-28 20:14:16 -08:00 |
Daniel Ehrenberg
|
da57436180
|
Finishing eliminating prune as a synonym of members
|
2010-02-27 14:52:24 -05:00 |
Daniel Ehrenberg
|
7074979745
|
Moving new-sets to sets
|
2010-02-26 16:01:01 -05:00 |
Daniel Ehrenberg
|
b76c82048d
|
Making propagation and tuple.parser refer to new-sets; adding some missing features from sets into new-sets
|
2010-02-26 12:07:37 -05:00 |
Joe Groff
|
21ab2ef6e7
|
repeated runs of classes.tuple test would fail because partially defined classes.tuple.tests:bad-superclass type would shadow classes.tuple:bad-superclass
|
2010-02-22 19:35:52 -08:00 |
Slava Pestov
|
6501480a0e
|
Fix two problems with recompilation: predicate constant folding was recording unsatisfied dependencies in some cases, and literal tuple instances of forgotten classes would cause problems for method inlining
|
2010-02-20 12:01:47 +13:00 |
Slava Pestov
|
31ccfa2e5d
|
Fix unit test failures
|
2010-02-18 04:58:30 +13:00 |
Slava Pestov
|
c5259f2e2c
|
classes.tuple: document final class declaration
|
2010-02-18 04:13:34 +13:00 |
Slava Pestov
|
c4c14c7ceb
|
classes.tuple: fix screwup
|
2010-02-18 03:00:43 +13:00 |
Slava Pestov
|
60296be964
|
typed: only unbox final classes. Fixes bug reported by littledan
|
2010-02-18 02:39:12 +13:00 |
Slava Pestov
|
01824d41be
|
Add support for final tuple classes which cannot be subclassed: TUPLE: foo ... ; final
|
2010-02-18 02:19:57 +13:00 |
Slava Pestov
|
cd1986a906
|
classes: fix regression from recent bug fix
|
2010-02-15 23:46:55 +13:00 |