Hmmmm... Possibly.  I hadn't thought about lua (etc) integration.

GC

On Sat, Jul 20, 2019 at 8:48 AM 陈北宗 <[email protected]> wrote:

> Can those be reused for some scripting language other than AppleScript,
> for example Guile, Lua, JavaScript (via node.js) or Swift REPL?
>
> Sent from my iPad
>
> > On Jul 20, 2019, at 03:43, [email protected] <
> [email protected]> wrote:
> >
> > Hi Greg,
> >
> > the scripting language hasn’t necessarily to be AppleScript, there is
> the "Open Scripting Architecture“ or OSA for short to provide other
> languages for that purpose:
> >
> >
> > https://en.wikipedia.org/wiki/AppleScript#Open_Scripting_Architecture
> <https://mailtrack.io/trace/link/1dc04bee02d74b6227c63d23c7d606ed7d170ac4?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FAppleScript%23Open_Scripting_Architecture&userId=2790543&signature=a47406e9a52dd2d0>
> >
> >
> https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptX/Concepts/osa.html
> <https://mailtrack.io/trace/link/be77075db0e7072d2321bdb3d2d6752f3887c851?url=https%3A%2F%2Fdeveloper.apple.com%2Flibrary%2Farchive%2Fdocumentation%2FAppleScript%2FConceptual%2FAppleScriptX%2FConcepts%2Fosa.html&userId=2790543&signature=2096e7945213f20b>
> >
> > https://www.npmjs.com/package/osascript
> <https://mailtrack.io/trace/link/7e8305bb71c8145c6fa3c4a0a1b74415be2008ba?url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fosascript&userId=2790543&signature=31307c1e200a32a9>
> >
> > https://github.com/mikaelbr/node-osascript#readme
> <https://mailtrack.io/trace/link/cfe71a6c9b6e8e49d4a24012060ac7435a33d69b?url=https%3A%2F%2Fgithub.com%2Fmikaelbr%2Fnode-osascript%23readme&userId=2790543&signature=f063737f5198b42c>
> >
> >
> > Maybe we could use this as a drop in replacement.
> >
> >
> > regards,
> >
> >    Lars
> >
> >> Am 19.07.2019 um 15:17 schrieb Gregory Casamento <
> [email protected]>:
> >>
> >> Hey Guys,
> >>
> >> <NSAppleEventDescriptor.h>
> >> <NSAppleEventManager.h>
> >> <NSAppleScript.h>
> >> <NSHFSFileTypes.h>
> >> <NSObjectScripting.h>
> >> <NSScriptClassDescription.h>
> >> <NSScriptCoercionHandler.h>
> >> <NSScriptCommand.h>
> >> <NSScriptCommandDescription.h>
> >> <NSScriptExecutionContext.h>
> >> <NSScriptKeyValueCoding.h>
> >> <NSScriptObjectSpecifiers.h>
> >> <NSScriptStandardSuiteCommands.h>
> >> <NSScriptSuiteRegistry.h>
> >> <NSUserScriptTask.h>
> >>
> >> We will never implement Apple Script... should we simply implement
> skeletons for compatibility? Or should we attempt an implementation?
> >>
> >> Yours, GC
> >> --
> >> Gregory Casamento
> >> GNUstep Lead Developer / OLC, Principal Consultant
> >> http://www.gnustep.org
> <https://mailtrack.io/trace/link/e634903db1ed7f222c10c873042a139e0d862ed5?url=http%3A%2F%2Fwww.gnustep.org&userId=2790543&signature=3d029721beeec2d4>
> - http://heronsperch.blogspot.com
> <https://mailtrack.io/trace/link/2d7f6d24c2831097fbe314d492cb4affb9ebf72e?url=http%3A%2F%2Fheronsperch.blogspot.com&userId=2790543&signature=18ff35250e4a45a8>
> >> http://ind.ie/phoenix/
> <https://mailtrack.io/trace/link/281b7c37a6ac1d9fe3edc5034f1d8781714cb1a6?url=http%3A%2F%2Find.ie%2Fphoenix%2F&userId=2790543&signature=3a47b76daac27bf1>
> >>
> >> _______________________________________________
> >> Gnustep-dev mailing list
> >> [email protected]
> >> https://lists.gnu.org/mailman/listinfo/gnustep-dev
> <https://mailtrack.io/trace/link/667a597062fb568f2f2f20cbf6f0b7493270bdd0?url=https%3A%2F%2Flists.gnu.org%2Fmailman%2Flistinfo%2Fgnustep-dev&userId=2790543&signature=48f23c2783efd76d>
> >
> >
> > _______________________________________________
> > Gnustep-dev mailing list
> > [email protected]
> > https://lists.gnu.org/mailman/listinfo/gnustep-dev
> <https://mailtrack.io/trace/link/c4ef92b351f0fe1f2ed64aab7b55e9b58d7ae5fc?url=https%3A%2F%2Flists.gnu.org%2Fmailman%2Flistinfo%2Fgnustep-dev&userId=2790543&signature=511a46876bdca2ae>
>


-- 
Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org
<https://mailtrack.io/trace/link/3d99965821763faf17e125bdd5595c75ed5e611a?url=http%3A%2F%2Fwww.gnustep.org&userId=2790543&signature=940ee35e93b1869b>
- http://heronsperch.blogspot.com
<https://mailtrack.io/trace/link/3053f0ca1c53db1eb391f3f454cf334fbaf46a3b?url=http%3A%2F%2Fheronsperch.blogspot.com&userId=2790543&signature=0e25e139e5cd8a3d>
http://ind.ie/phoenix/
<https://mailtrack.io/trace/link/88782c3a20464d5954fcb8299a3c267dff576365?url=http%3A%2F%2Find.ie%2Fphoenix%2F&userId=2790543&signature=fe51f3ca950de653>
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to