https://pest.rs/book/examples/awk.html 🎉

I aimed to keep it in line with the “demonstration of the Rust ecosystem” goal, so it can also be a great introduction to Rust for beginners who are looking for a fun project to work on. It’s not perfect, but that’s part of the fun! It leaves room for potential language extensions (to make the AWK clone more complete) and optimizations up to the reader as a follow-up.

  • Mactan@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    4 months ago

    every time I see a rust thing I go look and there’s another MIT license every time

    • TehPers@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      I’m not sure why this surprises you. MIT OR Apache is standard for Rust libraries.

      Not everyone wants to copyleft their code. People write these libraries with different goals in mind, and sometimes someone wants to use their own library in their own closed source project.

    • StripedMonkey@lemmy.zip
      link
      fedilink
      arrow-up
      0
      arrow-down
      2
      ·
      4 months ago

      I know, it’s pretty awesome right? It’s one of the highlights of the community in my opinion.