-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
"For" Loop Transpiler:
Objective: Implement a transpiler that converts "for" loops into equivalent code using existing language constructs.
Example:
(for (var x 0) (< x 10) (++ x)
(print x)
)
covert for loop to while loop ast and generate that code:
let x = 0;
while(x < 10){
print(x)
++x
}Syntax Sugar:
Objective: Add syntactic sugar to the language to simplify common coding patterns.