filmov
tv
Building a Compiler in Vanilla JavaScript - Episode 5 - Variables & Brackets

Показать описание
This is part one for this feature! Part two will be out shortly...
Welcome back to another banger video. Got some new editing software (shoutout to DaVinci Resolve - I love free software) and it's really nice tbf. Rendering was a lot faster than Sony Vegas - let me know if there's any problems with the footage/quality isn't as good, it looked ok to me! Today we're starting on adding variable assignments, variable accesses and brackets for mathematical operations. We'll refactor the parser quite a bit as well as the lexer in this one, next episode we'll finish this up and add some unit tests to make sure we haven't destroyed everything.
Any questions or if I'm wrong about something, please drop a comment.
- Add token class for better intellisense
- Updated lexer to handle new token types
- Started to update parser to handle variables and brackets
Cheers for watching as always
Useful Resources:
Node assertion testing docs (quite good tbf):
GitHub actions docs:
Welcome back to another banger video. Got some new editing software (shoutout to DaVinci Resolve - I love free software) and it's really nice tbf. Rendering was a lot faster than Sony Vegas - let me know if there's any problems with the footage/quality isn't as good, it looked ok to me! Today we're starting on adding variable assignments, variable accesses and brackets for mathematical operations. We'll refactor the parser quite a bit as well as the lexer in this one, next episode we'll finish this up and add some unit tests to make sure we haven't destroyed everything.
Any questions or if I'm wrong about something, please drop a comment.
- Add token class for better intellisense
- Updated lexer to handle new token types
- Started to update parser to handle variables and brackets
Cheers for watching as always
Useful Resources:
Node assertion testing docs (quite good tbf):
GitHub actions docs: