• 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: Calculation by string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calculation by string


  • Subject: Re: Calculation by string
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sun, 18 May 2003 17:34:40 +0200

At 16:57 Uhr -0500 17.05.2003, Robert Burns wrote:
I would recommend using Bison. In fact, the first Bison tutorial that you go through shows you how to make a calculator. Bison is a really easy-to-use tool as well - it only took me the better part of an afternoon to get a basic parser going from scratch.

Just be careful to massage the code a little after it's been generated.

In one project we found out that a BISON (or was it YACC?)-generated piece of code would simply write errors to the console when they occurred and then called exit(). Of course, we didn't want to do that from our XPress plugin, because we'd be shooting down the entire app...
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >Re: Calculation by string (From: Robert Burns <email@hidden>)

  • Prev by Date: Re: reading a text file
  • Next by Date: Re: reading a text file
  • Previous by thread: Re: Calculation by string
  • Next by thread: Apple's and Sleepycat's BSD DataBase
  • Index(es):
    • Date
    • Thread