Re: BASIC Interpreter
The infamous Lee Woo Seob wrote:
> 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,
Me too. I have been putting off writing a routine that is similar in
this. I need a routine that uses a userdefined template to produce a
sequence of numbers (such as xxx123[digit(2)+4]x where x is a random
number between 0 and 9).
The actual functions would not be that difficult to impliment, but the
parser is what I've been putting off.
|
Not Categorized, Please Help
|
|