What would the default behavior of those classes be? Stubs?
Sent from my iPad On Jul 21, 2019, at 04:19, Gregory Casamento <address@hidden> wrote:
I’m going to implement it in an open ended fashion. The classes will exist as an abstract representation and it will be possible to implement different “backends” to allow scripting. That way the classes will be there for build compatibility and it will be possible to extend it to use lua and other languages.
GC On Sat, Jul 20, 2019 at 09:31 Gregory Casamento < address@hidden> wrote: Hmmmm... Possibly. I hadn't thought about lua (etc) integration.
GC
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, address@hidden <address@hidden> 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://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptX/Concepts/osa.html
>
> https://www.npmjs.com/package/osascript
>
> https://github.com/mikaelbr/node-osascript#readme
>
>
> Maybe we could use this as a drop in replacement.
>
>
> regards,
>
> Lars
>
>> Am 19.07.2019 um 15:17 schrieb Gregory Casamento <address@hidden>:
>>
>> 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 - http://heronsperch.blogspot.com
>> http://ind.ie/phoenix/
>>
>> _______________________________________________
>> Gnustep-dev mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/gnustep-dev
>
>
> _______________________________________________
> Gnustep-dev mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/gnustep-dev
--
--
|