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 skibidi 42\r\nno cap"
input_file: skullbrain-parser/src/inputs/loop_while/loop_while2.skull
---
WhileLoop@0..61
  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..61
    DelimitedRange@19..61
      OpenBrace@19..25 "bussin"
      Trivia@25..31 "\r\n    "
      VariableDeclaration@31..55
        MutableVariableKeyword@31..36 "gyatt"
        Trivia@36..37 " "
        Ident@37..42 "ident"
        Trivia@42..43 " "
        Assignment@43..50 "skibidi"
        Trivia@50..51 " "
        Literal@51..53 "42"
        Trivia@53..55 "\r\n"
      CloseBrace@55..61 "no cap"


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