Doug Coleman
|
04a7bd1236
|
classes.tuple: Fix unit test.
|
2012-08-03 15:11:30 -07:00 |
Doug Coleman
|
d15a2357d1
|
core: Throw an error when assigning a bignum to a fixnum tuple slot if the bignum doesn't fit. Fixes #594.
|
2012-08-03 14:59:59 -07:00 |
Doug Coleman
|
008d035b39
|
classes.tuple: Fix unit tests related to coerce
|
2012-07-30 18:41:22 -07:00 |
Doug Coleman
|
376bc1bdf1
|
classes.tuple: Save slot name and tuple in no-slot error.
|
2012-07-24 14:05:58 -07:00 |
John Benediktsson
|
854ad5ca98
|
classes.tuple: moving get-slot-named and set-slot-named from db.types.
|
2012-07-24 11:55:16 -07:00 |
John Benediktsson
|
7104c2d7b9
|
using the new H{ } make.
|
2012-07-19 09:50:09 -07:00 |
Doug Coleman
|
8dc2a16a2d
|
classes.tuple: Better error message for tuples that try to inherit from themselves. Add must-fail tests for tuples that try to inherit from themselves and for inheriting from a generic.
Fixes #412.
|
2012-06-01 16:59:03 -07:00 |
Doug Coleman
|
30ade9023c
|
classes: add syntax for intersection{ and union{ anonymous classes. make classoid a mixin.
|
2011-11-22 18:49:42 -08:00 |
Slava Pestov
|
2cf72ef255
|
Fix bootstrap
|
2011-11-12 16:45:04 -08:00 |
Slava Pestov
|
081527628d
|
Fix ambiguity between 'initial: f' and no initial value in a slot spec. Fixes #382
|
2011-11-12 15:35:51 -08:00 |
Doug Coleman
|
be9f8a99f0
|
Rename lookup to lookup-word.
|
2011-11-06 16:00:00 -08:00 |
Doug Coleman
|
b61f9f6903
|
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
|
96da8df16e
|
Rename class to class-of
|
2011-10-24 06:47:42 -05:00 |
John Benediktsson
|
a13676f3b6
|
Remove stack effects from HELP: declarations.
|
2011-10-20 19:36:11 -07:00 |
John Benediktsson
|
f2741b34a4
|
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
|
f419934d6a
|
Cleanup lint warnings.
|
2011-10-14 11:47:24 -07:00 |
Doug Coleman
|
60b1115452
|
Rename forget-struct-slot-accessors -> forget-slot-accessors
|
2011-10-06 13:21:18 -07:00 |
John Benediktsson
|
7e8d598265
|
classes.tuple: can't assume hashcode* returns fixnum.
|
2011-10-06 11:53:50 -07:00 |
Doug Coleman
|
921c81d92a
|
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
|
e75e2b1f14
|
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
|
e1678b928a
|
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
|
bce0dd9272
|
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
|
205417d765
|
classes.tuple: switch to python's tuplehash(). Fixes #153.
|
2011-10-02 13:49:45 -07:00 |
Doug Coleman
|
94f3ca3b8c
|
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
|
300138eb4d
|
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
|
7d5887c1c5
|
classes.tuple: error-class should call-next-method before resetting itself.
|
2011-09-26 11:54:55 -07:00 |
John Benediktsson
|
f8cb5324b7
|
classes.tuple: adding test cases for error-class and support forget-class.
|
2011-09-26 11:00:32 -07:00 |
John Benediktsson
|
4a3ae7bab3
|
Defining an "error-class", and printing error tuples out with ERROR:. See #188.
|
2011-09-26 11:00:32 -07:00 |
Doug Coleman
|
597ca1b543
|
Fix for parser-notes? being removed
|
2011-09-07 04:59:35 -05:00 |
John Benediktsson
|
248b0df6fc
|
Spelling fixes to documentation.
|
2011-08-26 16:20:31 -07:00 |
otoburb
|
efa1f8a9ed
|
Tuple subclassing help article: Fixed typo
|
2011-03-24 04:48:48 +00:00 |
Keita Haga
|
fee3fc60dd
|
classes.tuple: minor fix to $errors section in the boa word's help page
|
2011-01-26 21:26:12 +09:00 |
Keita Haga
|
82526b8ba6
|
classes.tuple: minor fixes in tuple-examples article
|
2010-12-05 21:27:25 +09:00 |
Slava Pestov
|
801197a58d
|
classes.algebra: make it work better to fix bug reported by Sascha Matzke
|
2010-07-29 19:57:23 -04:00 |
Slava Pestov
|
4415a0924c
|
compiler.tree.finalization: record dependencies on inlined predicates
|
2010-07-23 16:31:15 -07:00 |
Slava Pestov
|
e935681743
|
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
|
d2d466de29
|
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 |
Joe Groff
|
dd825806da
|
more help-lint
|
2010-03-09 21:02:43 -08:00 |
Joe Groff
|
c8c93f8336
|
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 |
Joe Groff
|
524e58078a
|
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
|
06fb9aac4f
|
Fix unit test failures
|
2010-02-18 04:58:30 +13:00 |
Slava Pestov
|
6675bc2ace
|
classes.tuple: document final class declaration
|
2010-02-18 04:13:34 +13:00 |
Slava Pestov
|
fea8be5b6f
|
classes.tuple: fix screwup
|
2010-02-18 03:00:43 +13:00 |
Slava Pestov
|
56dff5b0f4
|
typed: only unbox final classes. Fixes bug reported by littledan
|
2010-02-18 02:39:12 +13:00 |
Slava Pestov
|
1100861204
|
Add support for final tuple classes which cannot be subclassed: TUPLE: foo ... ; final
|
2010-02-18 02:19:57 +13:00 |
Slava Pestov
|
a36d9eb669
|
classes: fix regression from recent bug fix
|
2010-02-15 23:46:55 +13:00 |
Slava Pestov
|
4cc907e1af
|
compiler.tree.propagation, compiler.tree.escape-analysis: make these passes handle constants in a more robust way in compilation units involving tuple reshaping
|
2010-02-12 02:50:59 +13:00 |
Slava Pestov
|
b3c7b51a31
|
tools.deploy.shaker: don't try to intern all word props anymore
|
2010-02-04 17:40:53 +13:00 |
Slava Pestov
|
57a47d9566
|
Rename update to assoc-union!, add assoc-filter! assoc-diff! words
|
2010-02-04 02:55:00 +13:00 |
Slava Pestov
|
002d454aa7
|
classes.tuple: make error slots read only for small space savings
|
2010-02-03 23:11:25 +13:00 |