tvl-depot/users/tazjin/rlox/examples/var.lox
Vincent Ambo c318f42c11 feat(tazjin/rlox): Support local variables
WIP

Change-Id: I78fbc885faaac165c380cbd9aa98b4b64a9b8274
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3685
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
2021-10-19 12:58:43 +00:00

8 lines
68 B
Text

var a = 10;
var b = 5;
{
var b = 10;
var c = 2;
a * b * c;
}