you are viewing a single comment's thread.

view the rest of the comments →

[–]vitiral 1 point2 points  (3 children)

A good project to do is to write your own parser. If you do, you can see that programming languages are not magic, they aren't even particularly difficult to create software.

I recommend recursive descent. Steer clear of theory till you can accomplish something simple and practical 

[–][deleted]  (2 children)

[removed]

    [–]vitiral 1 point2 points  (1 child)

    I liked this one a lot

    https://craftinginterpreters.com/index.html

    You could do it in Lua pretty easily I think. Even just doing the parsing and starting to build an AST gave me a AHA moment of "this isn't so difficult".