[fine] Starting to look like something

This commit is contained in:
John Doty 2024-01-09 07:56:14 -08:00
parent d14c9a72df
commit fa53841af9
4 changed files with 232 additions and 140 deletions

View file

@ -18,14 +18,17 @@
// | LiteralExpression
// | Number:'"2"'
// | Semicolon:'";"'
// | ExpressionStatement
// | PrintStatement
// | Print:'"print"'
// | LeftParen:'"("'
// | Identifier
// | Identifier:'"y"'
// | RightParen:'")"'
// | Semicolon:'";"'
// |
let x = 23;
let y = x * 2;
y;
print(y);
// @type: 590 f64
// @type: 667 f64