Closed DylanSp closed 4 years ago
With addition of ExprStatement to the grammar, need to actually implement this, as well as adding tests to make sure this is exercised; may need to augment parser as well.
Example programs:
{ printInt(3); }
{ function f() { printBool(true); } f(); }
With addition of ExprStatement to the grammar, need to actually implement this, as well as adding tests to make sure this is exercised; may need to augment parser as well.
Example programs: