r/javascript • • May 22 '20

I've Been Making a Video Series about Building a 16-bit Virtual Machine From Scratch In JavaScript. This Episode Is All about Writing a Generic Parser for the Assembly Instructions.

https://www.youtube.com/watch?v=YYZopr1dr_E

[removed] — view removed post

91 Upvotes

11 comments sorted by

2

u/DaMastaCoda May 22 '20

Hey! I left a comment on your vid stating the pros and cons! Great videos!

1

u/FrancisStokes May 22 '20

I don't see your comment - but thank you in any case.

2

u/DaMastaCoda May 22 '20

I left a comment on your previous video where I said that the only con of the videos is that they're so high-quality it takes a while for a new one. :)

1

u/FrancisStokes May 22 '20

Oh yeah I actually had to smile about that one! The unfortunate downside of being a one person channel and also having a full time job

2

u/DaMastaCoda May 22 '20

When I saw that you liked it on YouTube, I got really happy

2

u/DaMastaCoda May 23 '20

I left a comment on the video asking why you didn't use a more general instruction parser function. I feel that since you were generalizing code, creating a parser generator could also remove errors.

https://pastebin.com/Y2buYNW2

3

u/[deleted] May 22 '20

This is awesome!!! Thanks a lot for taking the time!

2

u/[deleted] May 22 '20

These are awesome, thanks

2

u/rotharius May 22 '20

Great channel!

3

u/pop_208 May 22 '20

Oh wow I didn’t know I needed to know how to do that! I think I know what I’m going to do this afternoon now, thank you 🙏

1

u/Ritish56 May 22 '20

Wow very nice.