booleancoercion / rchef

A Chef interpreter written in Rust.
MIT License
8 stars 3 forks source link

Update dependencies, ensure that token.chef compiles, allow trailing newlines. #3

Open JanEricNitschke opened 1 week ago

JanEricNitschke commented 1 week ago

Tried out your parser and had problems getting it to compile somehow. So i first updated all of the dependencies and made the necessary code changes to get it to compile. Afterwards i adjusted tokens.chef to not raise a syntax error (see https://github.com/booleancoercion/rchef/issues/2).

After that i added (in a pretty hacky way i feel) handling to allow for trailing newlines.

Lastly, i addressed the two clippy warnings i got.