• 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: PB Lexical Analysis (function popup): How?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PB Lexical Analysis (function popup): How?


  • Subject: Re: PB Lexical Analysis (function popup): How?
  • From: Eric Marshall <email@hidden>
  • Date: Mon, 14 Jan 2002 10:21:58 -0500

> My question is: when and/or how should I run the `parser' procedure to stay
> responsive and at the same time be keystroke-actual (meaning that the menu
> should be updated exactly as the user types in).
>
> Clearly, this procedure should run in the background (in a separate thread I
> imagine).

One super simple way would be to parse the file when the menu is requested
to display. No thread maintenance is required, but for large files the parsing
time may be prohibited. Don't know what you'd want to display in the menu if
there were syntax errors though :-)


  • Follow-Ups:
    • Re: PB Lexical Analysis (function popup): How?
      • From: Andreas Monitzer <email@hidden>
  • Prev by Date: RE: Possibly OT
  • Next by Date: Re: Possibly OT
  • Previous by thread: Re: PB Lexical Analysis (function popup): How?
  • Next by thread: Re: PB Lexical Analysis (function popup): How?
  • Index(es):
    • Date
    • Thread