4 ms·
I've been dabbling with the idea of taking Awk style patterns and translating them to JavaScript to run in Node.js (with the intent of allowing Awk style progra
by sea6ear 14y ago
I've been dabbling with the idea of taking Awk style patterns and translating them to JavaScript to run in Node.js (with the intent of allowing Awk style programs that also allow higher-order programming constructs). At this point I've got the translation working for some simple cases.
I've been pondering whether to trying to generalize the concept to work on http requests instead of just files, at which point I think a fairly elegant micro web framework could be made that applies Awk style pattern / action pairs to the incoming http requests.