Hi Squeakers,
SmallInterfaces 2.0.0 is now available in Squeak.
SmallInterfaces adds explicit interfaces to Smalltalk. This addition is useful for Design, Documentation, and Exploration.
New features are: * class method interface * sealing (immutable) interface * synchronization between interfaces and conforming classes * ANSI Smalltalk v1.9 protocols as Interfaces.
Original SmallInterfaces utilizes RefactoringBrowser to provide InterfaceBrowser. RB in Squeak is still in development. So this release also includes original GUI(InterfaceFinder) for Squeakers.
SmallInterfaces 2.0.0 runs on Squeak 2.7. Due to the poor support for Dialog in MVC, I recommend to run in Morphic.
For more information: http://brain.cs.uiuc.edu/VisualWorks/SmallInterfaces (original) http://www.mars.dti.ne.jp/~umejava/smalltalk/stClasses/smallinterfaces/ (Squeak Port)
Enjoy!
--- [:masashi | ^umezawa]
Hi Squeakers,
SmallInterfaces Squeak 2.0.0 now runs on Squeak2.8(alpha/beta). Please check it out. http://www.mars.dti.ne.jp/~umejava/smalltalk/stClasses/smallinterfaces/index...
Here is a tiny example.
"ANSI Interface coverage test - detects not implemented interfaces" "(Done in Squeak2.8 filed-in Richard Harmon's ANSI Standard messages)"
| ansiInterfaces | ansiInterfaces := Smalltalk organization listAtCategoryNamed: 'ANSI Interfaces'. ^ansiInterfaces select:[ :each | (Smalltalk at: each) conformers isEmpty].
answer(including equivalent interfaces):
(#ArrayFactoryProtocol #BagFactoryProtocol #ByteArrayFactoryProtocol #CharacterFactoryProtocol #DateAndTimeFactoryProtocol #DictionaryFactoryProtocol #DurationFactoryProtocol #ErrorClassProtocol #ExceptionClassProtocol #FileStreamFactoryProtocol #FileStreamProtocol #FractionFactoryProtocol #IntervalFactoryProtocol #NotificationClassProtocol #OrderedCollectionFactoryProtocol #SetFactoryProtocol #SortedCollectionFactoryProtocol #StringFactoryProtocol #StringProtocol #WarningClassProtocol #ZeroDivideFactoryProtocol #exceptionInstantiatorProtocol #floatCharacterizationProtocol #initializableCollectionFactoryProtocol #readFileStreamProtocol #readableStringProtocol #symbolProtocol #writeFileStreamProtocol )
--- [:masashi | ^umezawa].
squeak-dev@lists.squeakfoundation.org