
Weekly Report - April 1, 2024
1. Fixed the positioning error issue in the lexical token of the virtual machine compiler
In some cases, there were errors in the positioning of lexical tokens, resulting in compilation errors. This week, we carefully reviewed the algorithm for generating lexical tokens and fixed the positioning error bugs.
2. Fixed the multi-line comment compilation error issue in the lexical token list
When the source code contained multi-line comments, there was an issue generating the lexical token list, causing compilation errors. This week, we optimized the comment handling logic to properly process multi-line comments.
3. Optimized the value range of lexical structures and code block structures
The previous implementation did not handle some special value ranges well, posing potential risks. This week, we refactored the logic for handling value ranges in lexical structures and code block structures, increasing robustness.
4. Optimized the lexical token type definitions
The original lexical token type definitions had some unreasonable designs. This week, we reviewed and optimized the lexical token type definitions to maintain consistency and extensibility. This change involved code modifications in the upper modules, but through good design, we minimized the impact scope.