Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jecisc/protocols
https://github.com/jecisc/protocols
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/jecisc/protocols
- Owner: jecisc
- License: mit
- Created: 2019-06-20T19:40:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-21T20:09:17.000Z (over 5 years ago)
- Last Synced: 2024-10-31T06:23:40.846Z (2 months ago)
- Language: Smalltalk
- Size: 4.55 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Protocols
## API
```Smalltalk
MethodsInfoReader resetCache.
versions := MethodsInfoReader cachedVersions.p7 := versions detect: [ :e | e version = 7 ].
p6 := versions detect: [ :e | e version = 6 ].p7 protocols size. "2896"
p7 extensionProtocols size. "311"
p7 nonExtensionProtocols size. "2585"
p7 methods size. "92629"
p7 classes size. "6927"
p7 packages size. "521"accessing := p7 protocols detect: [ :e | e name = 'accessing' ].
accessing methods size. "19122"
accessing classes size. "3680"
accessing packages size. "384"newProtocols := p7 newProtocolsSince: p6.
newProtocols size. "455"
(newProtocols reject: #isExtension) size. "362"removedProtocols := p7 removedProtocolsSince: p6.
removedProtocols size. "344"
(removedProtocols reject: #isExtension) size. "287"
```# Ideas
- Extend Calypso to show protocols with `-` separator as tree.
- Heuristic: if special characters or numbers, in general the protocol name is wrong.