The Pine programming language.
Go to file
Aodhnait Étaín 3062ac9f45 Add unary operator parsing
Now we can also parse unary +, i.e.
  +17,
and also expressions that contain it, i.e.
  +17 + 23.

We also now have custom Debug implementation for Expression, which
prints them in more useful, s-expression-like syntax, i.e.
  +17 + 23 => (+ +17 23).

We also change implementation of `TokenStream`s `next` and `parse_next`
methods to allow to easily implement `peek` method for looking at the
(possible) next token without advancing the stream.
2021-05-23 08:06:53 +01:00
src Add unary operator parsing 2021-05-23 08:06:53 +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