
(No more ghosting i swear)
Changes
- 7b07fa4: Completed the animation for the Link step. I talked about the idea for the animation in the previous devlog (last commit) so u can check that out or just visit the website.
-
ba72b7e: I got bored of working on the website so got back to the javascript. I added evaluation for a ton of binary operations like
+,-, etc. I also discovered that there’s a ton of redundant code just sitting around in my codebase and I have no way of finding out what is redundant and what isn’t. Just to be safe I’m not gonna touch it. -
496d08a: Added evaluation of assignment expressions. Assignment expressions are the core of the expression syntax in javascript.
Expressionis literally defined with this grammar:
Expression:
AssignmentExpression
Expression , AssignmentExpression
So eventhough implementing assignment expressions was a whole lot of work, it practically marks the end of expressions evaluation.
-
f08426f: Started work on trying to evaluate statements. I’m starting with declarations (
let,const). I realized I haven’t implemented parsing forvarstatements so we’ll skip that for now. After implementing the evaluation for declarations, I tried hooking all the systems up: Agents, Realms, Execution Contexts, etc. It didn’t work well to say the least. - 47d4d7d: I can’t describe all the bugs I found even if I wanted to. One of them took me an hour to debug and was literally just because I was freeing memory (which I added forever ago as a safeguard because I knew I’d forget to free the memory later) when I shouldn’t have been.
Next Steps
- More statement evaluation. I’m scared to death of doing this
- Polish polish polish
Log in to leave a comment
