Compiler in Rust (lexer, parser, checker, C codegen), maps, chars, dino fmt, dino lsp (diagnostics, formatting, outline, definition, hover, completion, signature help), docs, examples, VS Code/Vim files. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
16 lines
147 B
Plaintext
16 lines
147 B
Plaintext
1 + 2 * 3
|
|
(1 + 2) * 3
|
|
-2 ^ 2
|
|
2 ^ 3 ^ 2
|
|
x = 10 / 4
|
|
x * 2 + pi
|
|
sqrt(16) + abs(-3)
|
|
max(2, 7) % 4
|
|
y
|
|
1 / 0
|
|
foo(1)
|
|
sqrt(1, 2)
|
|
3 +
|
|
4 $ 4
|
|
sum(1, 2, 3) * x
|