add pratt parser

This commit is contained in:
Raptorox 2026-05-21 16:59:07 +02:00
parent a4eed5214e
commit c70c5fab4d
No known key found for this signature in database
GPG key ID: 8B3556FC3ED1F6D8
3 changed files with 155 additions and 4 deletions

View file

@ -1,4 +1,4 @@
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Clone)]
pub enum Token {
Number(i64),
Ident(String),