vicuna-compiler 0.1.1

A compiler for the Vicuna programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
source: crates/vicuna-compiler/src/parser.rs
expression: "type_declaration().parse(\"enum Foo { A }\")"
---
Ok:
  Enum:
    name:
      - Foo
      - start: 4
        end: 9
    type_parameters: ~
    variants:
      - - - A
          - start: 11
            end: 13
        - ~