1. Re: BASIC Interpreter

A "math expression evaluator" is not beyond your capability.

Look up "recursive decent parser" in most any (advanced) pascal book.  I
worte one a couple years ago but stopped when Borland came out with "Eureka",
which was also the name I was using for my devcelopment.

don

Lee woo seob wrote:

> David Cuny wrote:
> >
> >Yes, I do have an interpreter. It will run a BASIC-like language that I
> >
>
> Hi David,
>
> Some time ago, i once tried to make "math expression evaluator", however,
> i realized that the development of "parsing algorithm" is beyond my
> capability...
>
> Do you have any plan to develop "math expression evaluator" or,
> Could you send me some CORE codes of parsing algorithm for it?
> math evaluator should be useful specially for one to want develop
> technical or engineering programs like me...
>
> it is better if some "variables" could be put in the expression as;
>
> expression string: "sin(x)+sqrt(x**2+y**2)/18.5+exp(x*sqrt(y))"
> where, x and y are variables, which will be specified later by the user
>
> hope this be possible,
>
> Bye... from Lee, woo seob




Lee woo seob wrote:

> David Cuny wrote:
> >
> >Yes, I do have an interpreter. It will run a BASIC-like language that I
> >
>
> Hi David,
>
> Some time ago, i once tried to make "math expression evaluator", however,
> i realized that the development of "parsing algorithm" is beyond my
> capability...
>
> Do you have any plan to develop "math expression evaluator" or,
> Could you send me some CORE codes of parsing algorithm for it?
> math evaluator should be useful specially for one to want develop
> technical or engineering programs like me...
>
> it is better if some "variables" could be put in the expression as;
>
> expression string: "sin(x)+sqrt(x**2+y**2)/18.5+exp(x*sqrt(y))"
> where, x and y are variables, which will be specified later by the user
>
> hope this be possible,
>
> Bye... from Lee, woo seob

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu