134 Commits

Author SHA1 Message Date
Guillem L. Jara 48c2c6abc4 parser: refactor lvalues & ast ownership; add getline pipes 2026-05-06 04:29:29 +02:00
Guillem L. Jara e63ff815f2 README: update parser progress 2026-05-05 18:24:24 +02:00
Guillem L. Jara 82500f7da3 parser: refactor pratt routine 2026-05-05 18:21:41 +02:00
Guillem L. Jara e6440123ee Revert "parser, lexer: solve function call ambiguity"
This reverts commit 5213c1e6fb.
2026-05-04 18:46:24 +02:00
oech3 94322bd759 Cargo.toml: remove a clippy config 2026-05-04 18:45:12 +02:00
Guillem L. Jara 5213c1e6fb parser, lexer: solve function call ambiguity
I really wanted not to do it this way, but it causes an ambiguity with `getline foo(x)` and GNU seems to have bailed on this too.
2026-05-04 18:45:12 +02:00
Guillem L. Jara d55ad9a1f2 parser: command refactor; prefix getline support 2026-05-04 15:40:45 +02:00
Guillem L. Jara dcda81b59a parser: add missing binops 2026-05-04 13:06:02 +02:00
Guillem L. Jara 1d72ca9681 parser: consider ( for expr start
Dumb, ik.
2026-05-04 12:56:01 +02:00
Guillem L. Jara c44f0d5bb8 parser: consume newline after signature 2026-05-04 12:54:02 +02:00
Guillem L. Jara 06b6b455cf parser: function idempotency 2026-05-03 21:12:45 +02:00
Guillem L. Jara d078568296 update readme 2026-05-03 13:43:45 +02:00
Guillem L. Jara 2489fc45cb tests: fix incorrect argument passing; new test 2026-05-03 13:35:32 +02:00
Guillem L. Jara 08b4ead128 parser: idempotency for fuzzing, --pretty-print 2026-05-03 04:12:18 +02:00
Guillem L. Jara 9670302115 parser: forbid unsafe code
This way, can avoid relying on a sanitizer when fuzzing. For now, we only allow unsafe code in a few specific cases in the lexer.
2026-05-02 15:34:32 +02:00
Guillem L. Jara 6acae173c8 uu_awk: start using clap 2026-05-02 14:31:12 +02:00
Guillem L. Jara 9ce8327c0c fix CI 2026-05-02 00:27:31 +02:00
Guillem L. Jara f738c98e48 merge changes 2026-05-02 00:20:40 +02:00
Guillem L. Jara 72dc72b913 parser: properly consume in special patterns 2026-05-02 00:17:15 +02:00
Guillem L. Jara dcb70159b5 parser: initial pretty errors w/ miette 2026-05-02 00:16:43 +02:00
Sylvestre Ledru 35843f4289 test: add uutests-based smoke tests 2026-04-30 19:20:34 +02:00
Sylvestre Ledru d4539f90f6 fix: unblock workspace clippy warnings 2026-04-30 19:20:23 +02:00
Sylvestre Ledru 56e4b26ea6 chore: switch pre-commit fmt/clippy to nightly toolchain 2026-04-30 19:20:16 +02:00
Sylvestre Ledru f0b93e8088 add a precommit check 2026-04-30 18:42:16 +02:00
Sylvestre Ledru a0fe7bc9b0 add license headers 2026-04-30 18:42:16 +02:00