lowbyteproductions / Parser-Combinators-From-Scratch

Code that accompanies the series
https://www.youtube.com/watch?v=6oQLRhw5Ah0&list=PLP29wDx6QmW5yfO1LAgO8kU3aQEj8SIrU
90 stars 8 forks source link

Parsing assembly or a C-like language #6

Open freememory opened 4 years ago

freememory commented 4 years ago

Hi -

You mentioned in the videos that we'd eventually be using the code written here to parse an assembly-like language and a C like language. Are those lessons upcoming?

francisrstokes commented 4 years ago

Parsing assembly has been the subject of the latest two videos in the series!

https://youtu.be/KhKq8a1m8r8 https://youtu.be/ai63l4OUxSs

The next few are going to continue with the assembly language parser, then the backend of the assembler (turning the parse tree into machine code).

After that, my (current) plan is to start using the CPU and memory mapping components to build a fantasy game console. I think the C-like language will come after that - probably finalizing with a simple game written in the C-like language.

But I imagine that's going to take quite some time!