3 ms·
If you are running Mac OS X and this is something that intrigues you, you should spend an afternoon or two playing around with F-Script[0]. It's a Smalltalk ins
by adamnemecek 12y ago
If you are running Mac OS X and this is something that intrigues you, you should spend an afternoon or two playing around with F-Script[0]. It's a Smalltalk inspired language the runtime of which can be injected into running processes so that you can dynamically explore the process data structures in memory. For example this screenshot[1] displays the data structures of a running programming that you can explore à la Chrome devtools (the UI is a tad overwhelming at first). There's also this Automator script called F-Script Anywhere which adds an Automator service that let's you inject the F-Scipt runtime into a running process with a single click. It was originally made by Silvio H. Ferreira but I've made some tiny changes to make it run on Mavericks and Yosemite[2].
[0] https://en.wikipedia.org/wiki/F-Script_(programming_language) https://en.wikipedia.org/wiki/F-Script_(programming_language...
[1] http://www.fscript.org/images/screenshots/objectBrowser.jpg http://www.fscript.org/images/screenshots/objectBrowser.jpg
[2] https://github.com/adamnemecek/FScriptAnywhere https://github.com/adamnemecek/FScriptAnywhere
- McUsr 12y agoThe first part doesn't intrigue me at all, because I can easily import an objective C-class into an AppleScriptObjectC app. I guess something like that works for Swift as well. AppleScript in itself, can't do that, but I can call everything that is in Say Foundation, and the other frameworks (AppleScript version 2.3), and AppleScript is quite SmallTalkish. ;)
- gnaritas 12y agoSmalltalk'ish!
- adamnemecek 12y agoIf I understand it correctly, you can only do this if you have access to the source, correct?
- seanmcdirmid 12y agoF-Script is also an example of an array programming language in the style of APL. There is a paper on how they combined array and class constructs: http://www.fscript.org/documentation/OOPAL.pdf http://www.fscript.org/documentation/OOPAL.pdf