A Rust implementation of AWK with the goal of achieving POSIX compatibility.
A Rust implementation of AWK aimed at POSIX compatibility, with a focus on a small, readable core and a practical CLI. The project is split into two crates to keep parsing/execution logic reusable and the command-line interface thin.
rawk-core: The language core, including the AST, parser, and evaluator, suitable for embedding or for building alternative front-ends.
rawk-cli: The command-line interface that wires rawk-core into a usable rawk binary with flags and file/stdin handling.
- POSIX specification
- GoAWK, an AWK interpreter written in Go - The inspiration for making rawk.
- goawk - The repository for the GoAWK implementation
- The One True Awk - This is the version of awk described in The AWK Programming Language, Second Edition, by Al Aho, Brian Kernighan, and Peter Weinberger (Addison-Wesley, 2024, ISBN-13 978-0138269722, ISBN-10 0138269726).
