Sign inSign up

ernstki/awkrepl

By ernstki

•Updated about 4 years ago

A rudimentary REPL for AWK

Image
0

216

ernstki/awkrepl repository overview

⁠awkrepl

A (work-in-progress) REPL⁠ for AWK⁠, built on tmux, entr⁠, (GNU) awk, and bat⁠.

Syntax-checks and pretty-prints your AWK code in the lower right-hand pane once you save it, and shows the results of your program's execution in the lower-left.

Any lines after #DATA at the end of the script are supplied as input to your program, for quick testing on sample inputs.

awkrepl automatically wrap simple AWK programs like print "$1" in END{…} for you, to make testing basic syntax and code snippets a snap.

Some (dubious) heuristics are applied to decide whether you need an outer set of curly braces, but this isn't (yet) perfect.

⁠Homepage

For details, see: https://github.com/ernstki/awkrepl⁠

⁠Author

Kevin Ernst (ernstki -at- mail.uc.edu⁠)

⁠License

MIT.

Tag summary

Content type

Image

Digest

sha256:0bf148431…

Size

65.6 MB

Last updated

about 4 years ago

docker pull ernstki/awkrepl