Doug Coleman
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -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
Doug Coleman
73bd47f639
constructors: Unify C:, CONSTRUCTOR:, NAMED-CONSTRUCTOR:, and DEFAULT-CONSTRUCTOR: by requiring the class name after the constructor word name.
...
example: CONSTRUCTOR: <foo> foo ( stack effect -- obj ) ;
The benefit is that we can now search for <foo> by name and it's not auto-generated--less magic. Also, there are fewer kinds of constructors.
Rename CONSTRUCTOR-SYNTAX: to SLOT-CONSTRUCTOR: since it's more descriptive.
2014-11-04 15:56:23 -08:00
Doug Coleman
98979fc51c
Remove initializers from extra/constructors, add C:-like form that requires a stack effect
2011-10-17 10:25:27 -07:00
Doug Coleman
a51fea1224
Fix unit test for when auto-use isnt on and test the other constructor error condition
2010-04-23 23:30:51 -05:00
Doug Coleman
654e4d48f5
More error checking in constructors for when slot name is repeated or a slot is not present in a tuple
2010-04-23 20:12:54 -05:00
Doug Coleman
9e7bfc202b
remove experimental constructors features
2009-07-23 15:59:55 -05:00
Slava Pestov
b18c84454b
Move constructors vocabulary to extra and refactor basis code not to use it
2009-06-13 18:47:19 -05:00
Slava Pestov
6ae2694f51
Move images vocab, and constructors (which it depends on) to basis
2009-02-11 05:01:04 -06:00
Slava Pestov
a46d7b34f2
Constructors experiment
2009-01-30 14:40:08 -06:00