Björn Lindqvist
|
85c3ccbb98
|
slots: add initial value for integer-array-capacity, fixes part of #1571
|
2016-03-21 18:10:39 +01:00 |
John Benediktsson
|
9dcca84c27
|
classes.tuple: a better error if creating a tuple from too many values.
|
2015-08-15 19:39:39 -07:00 |
Doug Coleman
|
02008979d9
|
factor: Change ERROR: foo ; to define ``throw-foo`` instead of having ``foo`` throw implicitly. The old ``foo`` still throws implicitly because this is a big change to get right in one patch, but it should be removed soon.
|
2015-08-12 15:26:18 -05:00 |
Doug Coleman
|
e4c39bcf3c
|
factor: superclass -> superclass-of, superclasses -> superclasses-of
|
2015-07-20 00:46:33 -07:00 |
Doug Coleman
|
43d6f1d3e2
|
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
|
2015-07-02 17:28:17 -07:00 |
Doug Coleman
|
59f3b1ea57
|
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.
This reverts commit 7e54cc2824 .
|
2015-07-02 13:47:06 -07:00 |
Doug Coleman
|
7e54cc2824
|
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
|
2015-07-02 11:36:08 -07:00 |
John Benediktsson
|
f52493f3ca
|
classes.tuple: fix test-case.
|
2014-06-07 09:50:26 -07:00 |
Doug Coleman
|
31e1fe54e3
|
core/extra tests: Fix word -> last-word
|
2013-03-24 01:11:54 -07:00 |
John Benediktsson
|
81a894f05f
|
classes.tuple: adding set-slots and from-slots.
|
2012-09-22 13:48:25 -07:00 |
Doug Coleman
|
af9ac34db2
|
classes.tuple: Fix unit test.
|
2012-08-03 15:11:30 -07:00 |
Doug Coleman
|
cd9dd9d752
|
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
|
c26ad1eb10
|
classes.tuple: Fix unit tests related to coerce
|
2012-07-30 18:41:22 -07:00 |
Doug Coleman
|
178f79decf
|
classes.tuple: Save slot name and tuple in no-slot error.
|
2012-07-24 14:05:58 -07:00 |
Doug Coleman
|
cee0b9e854
|
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
|
82c5388f68
|
classes: add syntax for intersection{ and union{ anonymous classes. make classoid a mixin.
|
2011-11-22 18:49:42 -08:00 |
Slava Pestov
|
03d6665166
|
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
|
c731dc6edb
|
Rename lookup to lookup-word.
|
2011-11-06 16:00:00 -08: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
|
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 |
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 |
John Benediktsson
|
f099cd5b4c
|
classes.tuple: adding test cases for error-class and support forget-class.
|
2011-09-26 11:00:32 -07:00 |
Doug Coleman
|
035cc310d9
|
Fix for parser-notes? being removed
|
2011-09-07 04:59:35 -05:00 |
Slava Pestov
|
c04de94b96
|
compiler.tree.finalization: record dependencies on inlined predicates
|
2010-07-23 16:31:15 -07: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 |
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
|
31ccfa2e5d
|
Fix unit test failures
|
2010-02-18 04:58:30 +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 |
Slava Pestov
|
a118f208dc
|
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
|
f20b4e5607
|
tools.deploy.shaker: don't try to intern all word props anymore
|
2010-02-04 17:40:53 +13:00 |
Slava Pestov
|
e929d906ce
|
classes: If a tuple class with subclasses is redefined into something that's not a tuple class, subclasses are changed to inherit from 'tuple' instead of being forgotten. Also, changing the metaclass of a union or intersection member no longer removes it from the union or intersection. Finally, make some internal words private
|
2010-02-01 02:48:39 +13:00 |
Slava Pestov
|
b63ec30449
|
classes.tuple: tests were changing superclass of vocab tuple
|
2010-01-27 20:24:33 +13:00 |
Slava Pestov
|
94c93f0bc7
|
vm: 'become' primitive needs to update literal references in code blocks
|
2010-01-27 18:42:31 +13:00 |
Slava Pestov
|
d0dc6ba8af
|
slots, classes.tuple: make 'integer'-declared slots call >integer on the new value before storing it in, and remove code duplication between type checks in writer methods and boa constructors
|
2010-01-16 19:29:19 +13:00 |
Slava Pestov
|
e30d275e41
|
compiler.cfg: 'basic-block new hashcode' should not throw an exception; fixes tools.deploy.test.11
|
2009-11-16 02:01:36 -06:00 |
Doug Coleman
|
bd13e018dd
|
memq? -> member-eq?, sorted-memq? -> sorted-member-eq?
|
2009-10-28 15:02:00 -05:00 |
Joe Groff
|
92e864b019
|
fix stack effect of ERROR: words that inherit slots from a base class
|
2009-09-29 12:52:13 -05:00 |
Slava Pestov
|
29327a787c
|
Remove initial-quot feature
|
2009-06-15 13:07:15 -05:00 |
Slava Pestov
|
285c8cecc6
|
Add some failing unit tests exposing bugs in initial-quot: implementation
|
2009-06-13 18:34:27 -05:00 |
Doug Coleman
|
258abe31ab
|
add some unit tests for reshaping tuples with initial-quot: slots
|
2009-06-12 11:58:07 -05:00 |
Slava Pestov
|
9c239694bf
|
Update unit tests for parser note and lazy list changes
|
2009-05-16 13:41:11 -05:00 |
Slava Pestov
|
7aa65b5b5f
|
Fixing new method dispatch implementation
|
2009-04-25 19:41:27 -05:00 |
Slava Pestov
|
48e70b65fa
|
Move cross-referencing stuff to tools.crossref since compiler doesn't depend on it anymore, and compute cross-referencing index as needed; reduces image size by ~4Mb
|
2009-04-22 04:20:38 -05:00 |
Slava Pestov
|
469c9ee21d
|
Debugging stack checking
|
2009-04-21 16:09:53 -05:00 |
Slava Pestov
|
05f3f9dcb9
|
Fixing unit tests for stack effect inference changes
|
2009-04-20 21:15:19 -05:00 |
Doug Coleman
|
7a1841f59b
|
(( -- )) eval -> eval( -- )
|
2009-04-17 15:49:21 -05:00 |
Doug Coleman
|
aad6a3d504
|
fixing compiler error in core
|
2009-04-17 12:45:57 -05:00 |