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 bussin\r\n    gyatt ident\r\nno cap"
input_file: skullbrain-parser/src/inputs/loop_while/loop_while3.skull
---
WhileLoop@0..50
  Keyword@0..4 "goon"
  Trivia@4..5 " "
  Condition@5..19
    DelimitedRange@5..19
      OpenParen@5..8 "uwu"
      Trivia@8..9 " "
      Ident@9..18 "condition"
      Trivia@18..19 " "
  Body@19..50
    DelimitedRange@19..50
      OpenBrace@19..25 "bussin"
      Trivia@25..31 "\r\n    "
      VariableDeclaration@31..44
        MutableVariableKeyword@31..36 "gyatt"
        Trivia@36..37 " "
        Ident@37..42 "ident"
        Trivia@42..44 "\r\n"
      CloseBrace@44..50 "no cap"


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