This is a checklist for the development of the hakiScript compiler. A language inspired from javascript written in rust.
- Set up a project repository and version control system.
- Implement a lexer to tokenize the source code.
- Create a parser to build an Abstract Syntax Tree (AST).
- Develop semantic analysis to check for type compatibility and scope rules.
- Create a symbol table to manage variables, functions, and scope.
- Generate an intermediate representation (IR) of the code.
- Implement optimization passes to improve code quality.
- Develop code generation to produce machine code, assembly, or bytecode from the IR.
- Handle runtime support, if necessary.
- Write comprehensive test cases to ensure the compiler's correctness.
- Create tests for edge cases and expected error handling.
- Document the usage of your compiler.
- Provide information about language syntax and specific features.
- Enhance the compiler with user-friendly features like error messages and warnings.
- Prepare your compiler for distribution, create installers, or package it for different platforms.
- Choose and add an appropriate open-source license to your project.