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\r\n    gyatt ident skibidi 42\r\nno cap"
input_file: skullbrain-parser/src/inputs/loop_while/loop_while5.skull
---
WhileLoop@0..54
  Keyword@0..4 "goon"
  Trivia@4..5 " "
  Condition@5..48
    DelimitedRange@5..48
      OpenParen@5..8 "uwu"
      Trivia@8..9 " "
      Ident@9..18 "condition"
      Trivia@18..24 "\r\n    "
      VariableDeclaration@24..48
        MutableVariableKeyword@24..29 "gyatt"
        Trivia@29..30 " "
        Ident@30..35 "ident"
        Trivia@35..36 " "
        Assignment@36..43 "skibidi"
        Trivia@43..44 " "
        Literal@44..46 "42"
        Trivia@46..48 "\r\n"
  Body@48..54
    DelimitedRange@48..54
      CloseBrace@48..54 "no cap"


Error: expected `⁨owo⁩`
   ,-[ loop_while5.skull:3:1 ]
   |
 3 | no cap
   | |^^^^^  
   | `------- insert here
   | 
   | Help: insert `⁨owo⁩` before the indicated position
---'
Error: expected `⁨bussin⁩`
   ,-[ loop_while5.skull:3:1 ]
   |
 3 | no cap
   | |^^^^^  
   | `------- insert here
   | 
   | Help: insert `⁨bussin⁩` before the indicated position
---'