Building a Compiler in Vanilla JavaScript - Episode 6 - Variables & Brackets continued

preview_player
Показать описание

Two days, two videos, that's why they call me benwatkins10xd. This recording was a bit of a mess, recorded it when I was shattered so I made loads of bugs but sped up any debugging I did. Today we finish the variables and brackets, and finish the episode up by crushing a couple of bugs and writing some solid unit tests. Quite happy with the progress! Next episode we'll have a look at performing comparisons, should be interesting. Hopefully it doesn't take me too long

Any questions or if I'm wrong about something, please drop a comment.

- Finish variable accesses and assignments
- Add support for brackets in expressions and handle them in the correct order
- Add a few unit tests

Cheers for watching as always

Useful Resources:
Node assertion testing docs (quite good tbf):
GitHub actions docs:
Рекомендации по теме
visit shbcf.ru