Commit Graph

19 Commits (master)

Author SHA1 Message Date
John Benediktsson 42cf41e616 Revert "basis: Move any vocabularies required by basis into basis."
This reverts commit 59c2956570.
2020-04-01 21:37:28 -07:00
Doug Coleman 59c2956570 basis: Move any vocabularies required by basis into basis. 2020-03-28 09:30:37 -05:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman 66147f27b4 extra: use throw-foo for ERROR: change 2015-08-13 01:56:32 -07:00
Doug Coleman e4c39bcf3c factor: superclass -> superclass-of, superclasses -> superclasses-of 2015-07-20 00:46:33 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
Doug Coleman 6e60c811ac core: Rename create to create-word, create-in to create-word-in. 2015-06-08 12:47:35 -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
John Benediktsson 81714b8dc3 More lint cleanups. 2011-10-16 19:33:16 -07:00
Slava Pestov ea726f5680 Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04: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 e675288577 fix bug in constructor redefinition 2010-01-04 14:24:13 -06: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 43672d90cb Minor tweak 2009-01-30 15:16:05 -06:00
Slava Pestov c1347699c4 Clean up CONSTRUCTOR: with Dan's idea: introduce set-slots and construct macros 2009-01-30 14:56:44 -06:00
Slava Pestov a46d7b34f2 Constructors experiment 2009-01-30 14:40:08 -06:00