134 Commits

Author SHA1 Message Date
Guillem L. Jara 60466bc28a chore(lexer): add test 2026-05-10 18:46:35 +02:00
Guillem L. Jara 84b83de4bf lexer: resolve small regex ambiguity 2026-05-10 18:46:34 +02:00
renovate[bot] df63f636f8 chore(deps): update rust crate hashbrown to v0.17.1 2026-05-09 07:39:04 +02:00
renovate[bot] a5226e6f38 chore(deps): update rust crate ctor to v1.0.4 2026-05-09 07:10:27 +02:00
oech3 81682ec7b0 Add CI for wasm32-wasip1 2026-05-08 11:49:07 +02:00
Guillem L. Jara 9d5b76a8af lexer: add new tests 2026-05-08 09:55:00 +02:00
Guillem L. Jara 65ada71119 lexer: fixes & match gawk 5.4.0 2026-05-08 09:23:27 +02:00
Guillem L. Jara 97968d7467 fix: migrate ctor to v1 2026-05-08 07:37:39 +02:00
renovate[bot] d23ddd7ac4 chore(deps): update rust crate ctor to v1 2026-05-08 07:37:39 +02:00
renovate[bot] 7627a924bc Add renovate.json 2026-05-08 07:09:49 +02:00
Guillem L. Jara e257cb7500 README: update progress 2026-05-07 18:01:59 +02:00
Guillem L. Jara 746f3d5eef parser: tighten error reporting 2026-05-07 18:00:56 +02:00
Guillem L. Jara 432afad97b fix: correctly handle ternary newlines
We might be better off handling this in the parser, though.
2026-05-07 17:10:51 +02:00
Guillem L. Jara fca4a20a78 README: update progress 2026-05-07 16:56:50 +02:00
Guillem L. Jara b24337910b lexer: POSIX and GNU compatibility modes
Also improves ignored newlines on specific tokens.
2026-05-07 16:51:05 +02:00
Guillem L. Jara 1c859fb126 chore: add file headings 2026-05-07 15:03:33 +02:00
Guillem L. Jara 35cf75424c tests: fix CI 2026-05-07 14:44:22 +02:00
SAY-5 18d5de2ffe address review: replace print macros with structured logging
Signed-off-by: SAY-5 <saiasish.cnp@gmail.com>
2026-05-07 14:37:39 +02:00
SAY-5 4a5d83e56f fix: handle write errors gracefully instead of panicking on /dev/full
Replace println! with writeln!(io::stdout(), ...) and handle BrokenPipe
silently, other I/O errors via stderr + exit 1. Matches the uutils
convention used in coreutils' true.rs.

Fixes #5

Signed-off-by: SAY-5 <saiasish.cnp@gmail.com>
2026-05-07 14:37:39 +02:00
Guillem L. Jara c22de2681e lexer: arena integration for slices 2026-05-07 14:31:38 +02:00
Guillem L. Jara aa9e1ad203 parser: get formatting to match gawk 5.4.0
I was previously running into bugs cuz I was on the LTS lol.
2026-05-07 13:18:08 +02:00
Guillem L. Jara 09b1947d13 CI: add missing hook 2026-05-06 19:58:39 +02:00
Guillem L. Jara 8b1dac7882 README: update parser progress 2026-05-06 19:53:50 +02:00
Guillem L. Jara 886d78366a parser: redirection support 2026-05-06 19:41:51 +02:00
Guillem L. Jara 7b3ea1b91c parser: refactor statements; delete support 2026-05-06 16:54:06 +02:00