Expand description
Awk-style record processor: library crate shared by the awkrs and ars binaries.
Modules§
- aot
- Native AOT for awkrs via
fusevm::aot(--aot OUT). - banner
- AWKRS ASCII logo + live-stats banner (shared by the REPL and
--help). AWKRS ASCII logo + live-stats box banner. Single source of truth shared by: - fusevm_
bridge fusevm_bridgesubmodule. Bridge between awkrs’s bytecodeOpand fusevm’sfusevm::Op.- lsp
- LSP server plus the shared documentation corpus (
builtin_signature,special_doc,keyword_doc,AWK_KEYWORDS) consumed by the offlinegen-docsreference generator. Language Server Protocol (stdio) for editors —awkrs --lsp. - repl
- Interactive REPL (
awkrs --repl, or the default on a bare terminal). Interactive REPL forawkrs/aw— a reedline line editor over the awk engine.
Enums§
- Error
Error— see variants for the choices.
Functions§
- run
- Run the interpreter.
bin_nameis used for diagnostics and help (e.g."awkrs"or"ars"). - run_
program - Embedding entry point: run an awk
programoverinput(treated as the whole input stream) and return everything the programprint/printfs.
Type Aliases§
- Result
Resulttype alias.