Smalltalk/X WebserverSmalltalk SourceCode Access | |
This application (HTTPSourceCodeAccessService ) provides up-to-date access to the running Smalltalk's source code.
For now, this is a simple demo - but might be extended to an automatic software update service in the future. To get a classes source code, type the following into your browser's URL-entry field: /SourceCode/get/ClassName
As an example, the following link gives you the source of the Boolean class:
/SourceCode/get/Boolean The above returns a classes source code with a mimeType of "application/smalltalk-source", which most browsers will save into a file (in fileOut format, ready to be filed-in to your running Smalltalk).
If you want to see the source code (as opposed to saving it),
use "getText" instead of "get";
/SourceCode/getText/Booleanthis returns the source code with a mimeType of "text/plain", which will be displayed by your browser. | |
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Thu, 21 Nov 2024 06:40:30 GMT |