Add // line comments, grouped parentheses, and NODE_NOP
- Parse // comments in parse_statement by consuming tokens until newline - Add NODE_NOP for no-op statements (comments) - Support grouped expressions with parentheses in parse_term
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
x = "Hello"
|
||||
println(len(x) + 3)
|
||||
y = 2 * (4 - 2)
|
||||
println(y)
|
||||
Reference in New Issue
Block a user