europalang / Europa-Lang

A fun and simple language with NO classes whatsoever!
MIT License
22 stars 3 forks source link

Added ternary statements #12

Closed seanlnge closed 3 years ago

seanlnge commented 3 years ago

Created new Expr type to hold ternary statements. Parser function tern_expr() takes in condition expression and outputs Expr::Ternary type.

cursorweb commented 3 years ago

Looks good!