Skip to content

[CORE] Implement if-else Contitional #1

@0xIcarus

Description

@0xIcarus

The first step to accommodate conditional branching is to implement a simple if-else statement.

TODO:

  • Extend the parser to handle basic if-else syntax
  • Add support in expr.ml for conditional expressions and statements.
  • Update codegen.ml to generate appropriate branching code for if-else constructs.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions