144 Commits
Author SHA1 Message Date
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 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 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 a0fe7bc9b0 add license headers 2026-04-30 18:42:16 +02:00
Guillem L. Jara 8e2faf992e fix(parser): fix and clean up S-expr debug output 2026-04-30 05:11:03 +02:00
Guillem L. Jara 66ea375649 fix(parser): correct swapped postfix ++/-- reciprocals 2026-04-30 03:33:49 +02:00
Guillem L. Jara 8d2d4b4f0d feat(parser): Rework S-expr printing 2026-04-30 03:31:08 +02:00
Guillem L. Jara 70e5ec08f1 fix(parser): correct SExpr printing 2026-04-30 01:46:49 +02:00
Guillem L. Jara f4634eab3c feat(lexer): start tracking spans internally
Integrates nicely with the current error handling; mirrors Logos' API.
2026-04-30 01:27:50 +02:00
Guillem L. Jara 8384183a4d fix(parser): Rework function call parsing 2026-04-30 01:06:04 +02:00
Guillem L. Jara 1609ff1b1c Initial commit 2026-04-29 22:16:25 +02:00