The Pine programming language.
Go to file
Aodhnait Étaín ba409b9be0 Add simple expression parsing
Currently can only parse addition in a right-associative way, i.e.
  1 + 2 + 3 => 1 + (2 + 3).

The reason why are we using raw pointers in a form of OffsetStr struct
is because I don't think there is a way to prove to Rust compiler that
tokens the parse_next function returns are always valid references to
the TokenStream source string. Therefore we simply have to bypass the
borrow checker and handle this ourselves.
2021-05-22 21:45:42 +01:00
src Add simple expression parsing 2021-05-22 21:45:42 +01:00
.gitignore first commit, nyan~ 2021-05-22 21:34:55 +01:00
Cargo.toml first commit, nyan~ 2021-05-22 21:34:55 +01:00