Skip to content

Comments

If statement feature#30

Merged
sidrasali merged 8 commits intomainfrom
If-Statement-Feature
Aug 29, 2025
Merged

If statement feature#30
sidrasali merged 8 commits intomainfrom
If-Statement-Feature

Conversation

@JoudiAlakkad
Copy link
Contributor

@JoudiAlakkad JoudiAlakkad commented Aug 29, 2025

  • add (if, else, conditions, GOTO and labels statements) for all compiler stages.
  • add Label Analysis to search for duplicate or undeclared labels (semantic analysis)
  • add new Exceptions.
  • update test cases.
  • modify Compiler Export.

@JoudiAlakkad JoudiAlakkad requested a review from sidrasali August 29, 2025 10:31
@JoudiAlakkad JoudiAlakkad self-assigned this Aug 29, 2025
@github-actions
Copy link

Code Coverage

File Coverage [89.80%]
src/jsMain/kotlin/exceptions/CompilationExceptions.kt 61.36%
src/jsMain/kotlin/lexer/Lexer.kt 96.55%
src/jsMain/kotlin/parser/BlockItems.kt 100.00%
src/jsMain/kotlin/parser/Expressions.kt 80.00%
src/jsMain/kotlin/parser/Parser.kt 96.13%
src/jsMain/kotlin/tacky/TackyGenVisitor.kt 85.40%
Total Project Coverage 88.82%

@sidrasali sidrasali merged commit 328f2ee into main Aug 29, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants