summaryrefslogtreecommitdiff
path: root/src/token.h (follow)
AgeCommit message (Collapse)Author
2016-12-01Found a big problem with order of operations.Mike Buland
I believe this is because I'm using right tail recursion, but I'm not really sure how I could change it for this program. order of operations is being observed perfectly, but then operations are being performed from right to left, not left to right. I think I may be reducing too frequently, honestly.
2016-12-01Forgot assignment and negation. They both work now.Mike Buland
That was actually really cool. Now to clean up the debugging code and write the execution engine.
2016-12-01The parser works.Mike Buland
There's still more to do, however. It doesn't do math anymore, it produces a script that can then be executed. Now we have to capture that script and execute it.
2016-11-30I managed to confuse myself pretty well.Mike Buland
I'm doing some reading up on LR(n) parsers, I just sort of started without thinking about it this time, not a great approach. I feel like it can't hurt to have an update on how this works anyway. I think the idea was solid, but I was trying to do too much at once. One question is what my goal should be for this. I could just solve the equation as we go, or I could generate code that will let us solve the equation. The later is obviously attractive in that it will let us run an expression more than once, and maybe even define functions. I like that.
2016-11-30Working on the parser, some issues.Mike Buland
2013-05-08Command parameters are taken as strings & decimal.0.06Mike Buland
You no longer need to set the radix in the current radix.
2013-04-23Now supports modulus (strange for fractions).Mike Buland
2013-04-23Variables work.Mike Buland
2013-04-22There is now a parser & calculator interface.Mike Buland