21
What are you working on this week? (May. 05, 2024)
(programming.dev)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
I just started writing a programming language! I'm using pest for the grammar/lexing, which makes if super easy. I built my ast using enums and structs, which makes me appreciate Rust even more. I also am coming to love the way rust handles errors. For example, when there's an error converting from pest -> ast, it feeds all of the error into into my error type, which is so much easier to handle than making it panic out of the function