Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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 ( [id://1124713]=note: print w/replies, xml ) Need Help??


in reply to Re: How would you solve a user-inputted simple one-variable Linear Equation
in thread How would you solve a user-inputted simple one-variable Linear Equation

The entire HOP is a free download.


Give a man a fish:  <%-(-(-(-<

  • Comment on Re^2: How would you solve a user-inputted simple one-variable Linear Equation
  • Download Code

Replies are listed 'Best First'.
Re^3: How would you solve a user-inputted simple one-variable Linear Equation
by Laurent_R (Canon) on Apr 26, 2015 at 08:49 UTC
    Yes, sure ++. And the first link I posted is the start page for the entire HOP download. But I pointed especially to chapter 8, Parsing, because of the general subject, parsing, because of the lexer examples and because of the calculator example, which goes a long way toward solving the OP problem. And also because I think this chapter can, to a large extent, be read without having read the previous chapters.

    Having said that, I would really recommend reading the entire book, one of the best books about CS I've read in the last decade, it has definitely changed my way of programming, even in other languages than Perl. And BTW, I first read it on-line, but I quickly decided to buy a dead-tree version, it is really worth the money.

    Je suis Charlie.

      I just wanted to let people know it wasn't the one-chapter teaser that you often get from publishers, e.g., O'Reilly.

      I agree that HOP is that rarest of creatures, a CS book that's a good read. BTW, congratulations if you got through the whole thing on-line; I have the electronic version for quick reference, but I'm of the generation that needs deadwood for comfortable, concentrated study. (Update: And I've still got my slide-rule! And you kids get off my lawn!)


      Give a man a fish:  <%-(-(-(-<

        No, I was not able to read the whole book on line, only perhaps the 5 first chapters, but then I too often had to refer back to previous passages, this was getting uncomfortable, that's why I bought the paper edition. (And I've also got my slide-rule.)

        Je suis Charlie.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1124713]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-19 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found