Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?

  • Cwilliams@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    6 months ago

    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