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>
15 lines
211 B
Plaintext
15 lines
211 B
Plaintext
circle 7.0685775
|
|
rectangle 6.0
|
|
point 0.0
|
|
[Shape.Circle(1.5), Shape.Rect(2.0, 3.0), Shape.Point]
|
|
Color.Green natural true true
|
|
0 zero
|
|
1 one
|
|
2 many
|
|
3 many
|
|
so far 1.5
|
|
so far 3.5
|
|
yes
|
|
stopping
|
|
Shape.Circle(0.0) true
|