3 ms·
Parser for "4-lulz language" or something that will also be used in IDEs, so has robust error recovery, can perform partial updates, etc? I feel it's just that
by tester756 3y ago
Parser for "4-lulz language" or something that will also be used in IDEs, so has robust error recovery, can perform partial updates, etc?
I feel it's just that it is possible to say that work on the parser side is completed
meanwhile optimizations? you can probably endlessly improve stuff
- electroly 3y agoTalking about the same thing as the article: hobby/learning languages. If you click the links to the author's projects you can see they have yet to finish a compiler or really even come close. Definitely not talking about sophisticated production-grade languages here; OP is trying to complete their first compiler at all. I think writing compilers is a really neat and useful learning project but you have to be smart about not biting off more than you can chew. I would absolutely recommend not supporting incremental compilation or error recovery in your first compiler. Just stop everything at the first error. Save that for your second hobby compiler, or better yet, the first commercial compiler that you get paid to work on.
- 082349872349872 3y ago> writing compilers is a really neat and useful learning project but you have to be smart about not biting off more than you can chew. Writing compilers is an especially useful project when you learn roughly how much you can chew. (Algol 68 is a nice example of a bunch of smart people, with relevant domain expertise, biting off way too much for the machines of the time.)
- paulddraper 3y agoI think you're reaching higher