summaryrefslogtreecommitdiff
path: root/src/scriptengine.cpp (follow)
AgeCommit message (Collapse)Author
2016-12-19It actually sorta' works again!newparserMike Buland
2016-12-13Corrected negation and single value parse bugs.Mike Buland
Discovered arithmetic bug in the Number class, -4 + 5 is coming back as -1, not 1. It's getting the sign wrong somehow. I'll have to hunt that down.
2016-12-01Signals solve many problems.Mike Buland
The command structures will be changed, I think. I want the lexer to actually lex the command names into tokens, then the parser and the engine can both use them to update their state when necesarry. It will be less ambiguous and easier for both sides to stay synchronized.
2016-12-01Terrible parsing issues are behind us now.Mike Buland
At least...those issues are behind us. We'll see what happens next. Also, added some macros to make debugging easily optional.
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-01Scripts are executable now!Mike Buland
The main interactive interface doesn't work, and there's a lot left to do with the unit tests, other command line options, etc. but it's pretty exciting. I also still have to figure out how commands will work. I'm thinking they'll be stored in an Expression and executed by the engine as normal.