summaryrefslogtreecommitdiff
path: root/src/lexer.cpp (follow)
AgeCommit message (Collapse)Author
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-12-01New layout for the parser, it doesn't parse yet.Mike Buland
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
2016-11-23Added new helpers for lookahead.Mike Buland
2015-07-23Just a tweak to the lexer to make some errors nicer.Mike Buland
2013-11-13Corrected silly bug in variable assignment.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-22Fixed = bug in lexer (they halted it).Mike Buland
2013-04-22There is now a parser & calculator interface.Mike Buland