Major mode for editing and executing AppleScript code