Commit Graph

28 Commits (a4f80bafce4e82c9a7cc364c475bcbf794e7331b)

Author SHA1 Message Date
Doug Coleman 9a22d35cb7 words: Change word -> last-word, set-word -> set-last-word. 2013-03-23 16:12:03 -07:00
Doug Coleman 3b76d51219 typed: Add unit test for #778. 2013-03-20 11:14:09 -07:00
John Benediktsson ec83995999 typed: prevent TYPED: definitions without types. 2013-03-20 11:09:34 -07:00
John Benediktsson 70a594133f make some predicates return t/f instead of something/f. 2012-07-29 10:52:46 -07:00
Doug Coleman 117d57ad92 issue #358: Rename all of the words depends-on-* to add-depends-on* 2012-06-21 08:35:45 -07:00
Doug Coleman cb42258144 classes:
- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized.
2012-05-03 19:45:30 -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
Doug Coleman d3a4e72f95 classes.maybe: move maybe definition from classes.union to classes.maybe 2011-11-22 02:46:36 -08:00
Doug Coleman e0b34d2fd0 typed: Teach typed about maybe: foo. Should maybe: foo satisfy unboxable-tuple-class? ? 2011-11-22 02:09:12 -08:00
Joe Groff e4b271a2fc new module typed.namespaces: get/set + type check 2011-11-10 10:47:21 -08:00
Doug Coleman 55d6dc14b0 Missed yet more renames 2011-10-24 17:00:09 -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 d397bd3b5e Removing unused private words. See #132. 2011-09-25 11:43:26 -07:00
Joe Groff 26c13882fc typed: include value that raised the error in type-mismatch-errors 2010-06-14 14:23:55 -07:00
Slava Pestov ee890ed1cc compiler.cfg.debugger: clean up and make it more flexible 2010-05-03 17:34:22 -04:00
Daniel Ehrenberg d9878f81d7 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Daniel Ehrenberg f2f80dadc7 Updating code to use require-when rather than vocab [ require ] when 2010-03-18 01:13:37 -04:00
Slava Pestov 36dae3d599 typed: forgetting a final class would throw an error while recompiling typed words depending on it 2010-03-12 10:22:35 +13:00
Slava Pestov daf2e5270c Get foldable and flushable declarations working on typed words 2010-02-24 00:16:55 +13:00
Slava Pestov 1f89dc505a effects.parser: throw a proper no-word error if effect references an unknown class word 2010-02-23 23:57:13 +13:00
Slava Pestov 040fca8e49 typed: update documentation 2010-02-18 04:13:21 +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 aff29c3829 typed: update for dependency changes 2010-01-30 10:53:42 +13:00
Slava Pestov 6976f0568c typed: update for stack checker refactoring 2009-11-09 00:55:10 -06:00
Joe Groff bdfbd5b497 fix bug when a TYPED: word takes no inputs or gives no outputs 2009-10-24 23:49:08 -05:00
Joe Groff e253ca673e add a typed-disassemble convenience word to typed.debugger 2009-10-19 12:26:26 -05:00
Joe Groff 5f346c96d5 moved "typed" to basis 2009-10-17 11:21:43 -05:00