2 ms·
I'm not sure if you're serious or trolling me, but without being pedantic, it's a learning environment that lacks standard IDE features, including such basic th
by tedmiston 10y ago
I'm not sure if you're serious or trolling me, but without being pedantic, it's a learning environment that lacks standard IDE features, including such basic things as line numbers and a context click for go to function definition. As far as I'm aware there is no third party package ecosystem for extending its limitations either.
- hhas01 10y agoThey'd need to rewrite the AppleScript compiler and interpreter to support all that. It's pretty much a non-starter for building full modern tooling on top. There just aren't the hooks in either AppleScript or the OSA component API (which is the middleware that apps like Script Editor have to call through to interact with AS itself) to drop those in. And why would Apple invest a ton of capital doing that when there aren't any users for it anyway! ... Re. the missing library ecosystem in particular: AS didn't even have a built-in module loader until 10.9! And having landed that, the AS team didn't even bother to provide any standard libraries to go with it! How do they expect a full third-party ecosystem to spring up all around it overnight when they don't even bother to show AS users what the point of the damn thing is? See also: openradar.appspot.com/28465563, which is my third (and absolutely final) attempt to bootstrap either a third-party package ecosystem (impossible in a culture that doesn't even know what a "library" is or why they should care) or even just get a basic AS stdlib bundled in macOS so I don't have copy-n-paste a goddamn TIDs-handler every single time I want to do a simple find-and-replace. Feel free to dupe it, or even just d/l the libs for your own personal use—it's still far better AS code than ever emitted from Apple Inc's own walls.