Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hhas02
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
hhas02
5y ago
“I should have mentioned” Not at all. Results are what matters, not the technical gubbins under the hood. I’m happy appscript helps you to empower your users.
2.
▲
by
hhas02
5y ago
“a pattern-matching construct is a "special form"” What sort of pattern-matching are we talking about? You mean the sort of syntactic pattern matching we see in e.g. Ocaml’s `match…with…` “It can work if functions receive raw, une
3.
▲
by
hhas02
5y ago
[OK, last last post…] “I think a way to get non-programmers into language would be to adopt an existing language like Swift or Kotlin, and add support for block-based syntax” LOL. So like learning and using MIT Scratch or Siri Shortcuts;
4.
▲
by
hhas02
5y ago
Last post: All of my own “amateur” end-userlanguage design work of the last 15 years is the result of coming up through AppleScript, simultaneously delighted at the power it gifted me while increasingly appalled at how much hard unforgiving
5.
▲
by
hhas02
5y ago
“AS failed at natural language though.” It didn’t fail. It never was . AppleScript is a screamingly conventional, traditional, conservative Algol-style language; which just happens to be dressed up with an app-extensible pool of keywords a
6.
▲
by
hhas02
5y ago
I will also leave these here: appscript.sourceforge.net sourceforge.net/projects/appscript/files github.com/hhas/SwiftAutomation www.npmjs.com/package/nodeautomation (The nodeautomation bridge on npm is br
7.
▲
by
hhas02
5y ago
You are correct about SB and JXA. Counterpoint: https://sourceforge.net/projects/appscript/files/ Type an AppleScript command into ASTranslate[1] and run it, and you get its instant translation to Python&#x
8.
▲
by
hhas02
5y ago
Hi Felix! Sorry I’m a jerk who never responds to PRs, although I know py3-appscript* is in its best hands with you so just keep rolling as you see fit. (*I am currently dragging nodeautomation back up to operational status so I can use it i
9.
▲
by
hhas02
5y ago
“And now that you can use JavaScript instead of AppleScript” You really can’t. JXA is garbage, crippled, incompetent, and long since abandoned to pine for the fjords. Its only actual function is to impede any re-development of ES6 as a usef
10.
▲
by
hhas02
5y ago
Cook’s HOPL3 paper on the early history and motivations of AppleScript is a great read, full of insight and ambition, and it is a damn shame that early 90s Apple management pissed off Cook and Harris into walking out the door, effectively t
11.
▲
by
hhas02
5y ago
You can certainly write automation code using JXA or SB. Or you can just skip straight past the end where you `/dev/null` the lot in steaming frustration, and go back to using AppleScript because, as much as it stinks as a languag