about summary refs log tree commit diff
path: root/users/tazjin/rlox/src/parser.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-12-31T13·39+0300
committertazjin <mail@tazj.in>2020-12-31T14·32+0000
commit48a54625ce287ff233219432b82d950bcfe10339 (patch)
tree7eeecddb148dc0d52d485577db22dd64573a64f9 /users/tazjin/rlox/src/parser.rs
parentcc958e67309593b24634816c0c29d90eda84b3ed (diff)
refactor(tazjin/rlox): Separate assignment and definition r/2034
So that:

> var a = 15;
> b = 12;
Error in program: Error { line: 0, kind: UndefinedVariable("b") }
> a = 12; print a;
Number(12.0)

Change-Id: I687e95ccc2d3084e39a71bd452656ae981c95191
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2300
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/rlox/src/parser.rs')
0 files changed, 0 insertions, 0 deletions