banner

Weekly Report - March 4, 2024

Compiler Optimization Work

1. Fixed logical error in return statement handling

This week we fixed a logical error in how the compiler handles return statements. Previously, the compiler would still generate a return instruction even when the return statement had no return value, leading to compilation errors. By adding return value checking, now the compiler will not generate a return instruction if the return statement does not have a return value. This issue is now resolved.


2. Added support for line comment lexical analysis

This week we updated the lexical analysis rules to add support for line comments. Previously, line comment content was not processed during lexical analysis. Now line comment content can also be correctly converted into lexical tokens. This resolves the issue where line comments failed to generate tokens.

Articles

Loading

Follow IBAX for the latest news

Subscribe now