in reply to How would you solve a user-inputted simple one-variable Linear Equation
But rather than trying to explain myself probably in a poor fashion, I would suggest that you take a look at chapter 8 ("Parsing") of Mark Jason Dominus' excellent book, Higher Order Perl (http://hop.perl.plover.com/). This chapter is available on-line here: http://hop.perl.plover.com/chap08.html.
You probably don't need to go in all the complexity of that chapter, but you should find a lot of ideas which you can then implement in your own simple way for what you need.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How would you solve a user-inputted simple one-variable Linear Equation
by AnomalousMonk (Archbishop) on Apr 25, 2015 at 22:24 UTC | |
by Laurent_R (Canon) on Apr 26, 2015 at 08:49 UTC | |
by AnomalousMonk (Archbishop) on Apr 26, 2015 at 15:32 UTC | |
by Laurent_R (Canon) on Apr 26, 2015 at 18:03 UTC |