239 points by tosh 4 days ago | 57 comments | View on ycombinator
azhenley 4 days ago |
goodthink 4 days ago |
[0] https://blog.bracha.org/primordialsoup.html?snapshot=Amplefo... [1]https://newspeaklanguage.org [2]https://blog.bracha.org/primordialsoup.html?snapshot=Amplefo...
chrysoprace 4 days ago |
incognito124 4 days ago |
I hope we get to see "Add a type checker to Lox" sequel
keyle 4 days ago |
although I keep getting lost somewhere in the mountain :)
I also recommend munificent's other book about game programming patterns. Both are fun to read.
acedTrex 4 days ago |
Nora23 4 days ago |
papercrane 4 days ago |
stevefan1999 4 days ago |
Hacky solution for PEG such as adding a context stack requires careful management of the entry/exit point, but the more fundamental problem is that you still can't "switch" syntax, or you have to add all possible syntax combination depending on the numbers of such stacks. I believe persistent data structure and transactional data structure would help but I just couldn't find a formalism for that.
wduquette 4 days ago |
codr7 4 days ago |
And perhaps this for those leaning towards C:
kunley 4 days ago |
jokoon 4 days ago |
rohitpaulk 4 days ago |
Link: https://app.codecrafters.io/courses/interpreter/overview
raymond_goo 4 days ago |
Here are is a new LUA interpreter implemented in Python:
https://github.com/rhulha/MoonPie
And here is a new language:
2020 with 777 points: https://news.ycombinator.com/item?id=22788738
2024 with 607 points: https://news.ycombinator.com/item?id=40950235