skullbrain-parser 0.1.0

Parses skullbrain tokens into a concrete syntax tree (CST).
Documentation
---
source: skullbrain-parser/src/test.rs
expression: display_target
info: "goon uwu condition owo ?? \r\n    gyatt ident skibidi 42\r\nno cap"
input_file: skullbrain-parser/src/inputs/loop_while/loop_while4.skull
---
WhileLoop@0..62
  Keyword@0..4 "goon"
  Trivia@4..5 " "
  Condition@5..22
    DelimitedRange@5..22
      OpenParen@5..8 "uwu"
      Trivia@8..9 " "
      Ident@9..18 "condition"
      Trivia@18..19 " "
      CloseParen@19..22 "owo"
  Trivia@22..23 " "
  Body@23..62
    DelimitedRange@23..62
      Error@23..25 "??"
      Trivia@25..32 " \r\n    "
      VariableDeclaration@32..56
        MutableVariableKeyword@32..37 "gyatt"
        Trivia@37..38 " "
        Ident@38..43 "ident"
        Trivia@43..44 " "
        Assignment@44..51 "skibidi"
        Trivia@51..52 " "
        Literal@52..54 "42"
        Trivia@54..56 "\r\n"
      CloseBrace@56..62 "no cap"


Error: expected `⁨bussin⁩`
   ,-[ loop_while4.skull:2:5 ]
   |
 2 |     gyatt ident skibidi 42
   |     |^^^^  
   |     `------ insert here
   | 
   | Help: insert `⁨bussin⁩` before the indicated position
---'