Skip to content

Add syntax for else-if #28

@AdvancedAntiSkid

Description

@AdvancedAntiSkid

Is your feature request related to a problem? Please describe.
Hypixel natively only supports if-else branches. It would be great to have else-ifs, so not all conditions should be evaluated if one case passes.

Describe the solution you'd like
Introduce syntax else if that would build the AST as else { if { .... } } - as this is the only syntax hypixel recognizes.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Labels

compilerSomething regarding the compilerenhancementNew feature or requestsyntaxSyntax support for a feature

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions