3 ms·
1. Know your primary design goals. These should be extremely few, as in MVP. 2. Write a parser. 3. Write an interpreter. Do not bother with a compiler yet.
by austin-cheney 2y ago
1. Know your primary design goals. These should be extremely few, as in MVP.
2. Write a parser.
3. Write an interpreter. Do not bother with a compiler yet. Writing an interpreter is a challenge and your final proof of MVP.
4. Refactor and optimize your prior logic.
5. Write documentation. Write with extreme empathy because if the level of effort remains too high nobody will look at this. Identify current issues and shortcomings. Identify next steps.
6. Socialize the work product.
7. Now, write a compiler.
---
I have thought about writing a ridiculously scaled down minimal JavaScript like language with TypeScript like type annotations and named procedures.
- Hashex129542 2y ago+1 This works. The first step is, "Don't bother about Compiler at Beginning"