🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.misc
Article #36

Re: Writing an expression evaluator

#36
From: Taj Khattra
Date: Thu, 15 Feb 1996 19:20
15 lines
1320 bytes
Andrew Koenig (ark@research.att.com) wrote:
: In article <311FEBD8.7305@cnj.digex.net> Aristotle <johndc@cnj.digex.net> writes:

: > Does anyone have any tips on how to go about writing an expression 
: > evaluator(one complex enough to handle Trig. functions). I am writing a 
: > program that uses expression and I would like to have the user be able to 
: >  enter their own expressions and have my program implement them. Any help 
: >  would be appreciated. Thanks in advance!

: Read ``The UNIX Programming Environment'' by Kernighan and Pike (Prentice-Hall).

The code for the calculator described in this bible is available at
ftp://plan9.att.com/csrc/hoc.bundle.Z

-taj
Technical Details
Message-ID: <4g0113$6ge@wolfe.wimsey.com>
Path: arc1-ca.pugleaf.net!in2.uu.net!van-bc!vanbc!taj
References: <311FEBD8.7305@cnj.digex.net> <DMpuzv.rG@research.att.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in2.uu.net!van-bc!vanbc!taj
From: taj@vanbc.wimsey.com (Taj Khattra)
Newsgroups: comp.lang.pascal.misc,comp.lang.pascal.borland,comp.programming,comp.lang.misc,comp.lang.c,comp.lang.c++
Subject: Re: Writing an expression evaluator
Followup-To: comp.lang.pascal.misc,comp.lang.pascal.borland,comp.programming,comp.lang.misc,comp.lang.c,comp.lang.c++
Date: 15 Feb 1996 19:20:03 GMT
Organization: Wimsey Information Services
Message-ID: <4g0113$6ge@wolfe.wimsey.com>
References: <311FEBD8.7305@cnj.digex.net> <DMpuzv.rG@research.att.com>
NNTP-Posting-Host: vanbc.wimsey.com
X-Newsreader: TIN [version 1.2 PL2]