• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script Editor freaks out
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Editor freaks out


  • Subject: Re: Script Editor freaks out
  • From: "Mark J. Reed" <email@hidden>
  • Date: Thu, 17 Jan 2008 19:16:07 -0500

What benefit do you get by producing AppleScript?  It's not really a
backend kind of language.  I also dont understand why you cant use
osacompile, though i wouldnt be surprised if it had the same limits.

If you just want to pretty-print the source, i believe there are 3p
tools that will do that.


On 1/17/08, Amandeep Singh <email@hidden> wrote:
> Ok, so we have a SDK in multiple languages. That SDK is actually
> described in XML, and we generate code for multiple languages at compile
> time. We use "Velocity" templates to generate that code.
>
> And now we need to add support for AS, which is almost done except for
> this issue.
>
> Does that explanation help?
>
> Thanks,
> Aman
>
> -----Original Message-----
> From: applescript-users-bounces+asingh=email@hidden
> [mailto:applescript-users-bounces+asingh=email@hidden] On
> Behalf Of has
> Sent: Thursday, January 17, 2008 4:27 PM
> To: Applescript Users
> Subject: Re: Script Editor freaks out
>
> On 17 Jan 2008, at 23:13, Amandeep Singh wrote:
>
> > We generate scripts in text format, and then manually copy-paste them
> > into script editor, so that formatting happens and syntax is checked.
> >
> > The scripts tend to go really big. When the file size reaches around
> > 400K, script editor stops formatting the scripts.
>
> You're likely hitting one of the AppleScript language's internal limits.
>
> > Any suggestions?
>
> Write a better code generator that produces more concise output /
> avoid using code generation in the first place / use another language
> that doesn't have such limitations.
>
> For more specific suggestions, provide more details about what your
> code generator needs to do and examples of its input and output.
>
> HTH
>
> has
> --
> http://appscript.sourceforge.net
> http://rb-appscript.rubyforge.org
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> com
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>


--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >scrpting Script Editor (save as script) (From: "Yvon Thoraval" <email@hidden>)
 >Re: scrpting Script Editor (save as script) (From: Luther Fuller <email@hidden>)
 >Re: scrpting Script Editor (save as script) (From: "Mark J. Reed" <email@hidden>)
 >Re: scrpting Script Editor (save as script) (From: Luther Fuller <email@hidden>)
 >Using script bundles (From: "Amandeep Singh" <email@hidden>)
 >Script Editor freaks out (From: "Amandeep Singh" <email@hidden>)
 >Re: Script Editor freaks out (From: has <email@hidden>)
 >RE: Script Editor freaks out (From: "Amandeep Singh" <email@hidden>)

  • Prev by Date: Re: Weird reply in Tiger vs. Leopard....is this a bug?
  • Next by Date: Re: Obfuscations and little white lies
  • Previous by thread: RE: Script Editor freaks out
  • Next by thread: Re: Script Editor freaks out
  • Index(es):
    • Date
    • Thread