1
1
mirror of https://github.com/anoma/juvix.git synced 2024-10-26 09:45:47 +03:00
juvix/tests/nockma/positive
Jan Mas Rovira 50a62f6182
Fix bugs in the Nockma prettyprinter and parser (#2632)
This pr addresses a number of problems.

1. It fixes a bug where paths were annotated as operations rather than
paths in the parser.
2. It fixes a bug that happened when unfolding cells in the pretty
printer in order to minimize delimiters. It caused the stdlibcall hints
to be ignored for the unfolded arguments.
3. In order to properly test this, we can't ignore the hints for the Eq
instance, so I've changed that.
4. I've introduced the class NockmaEq for nockma semantic equality. This
is used in the evaluator as well as in the semantic tests.
5. I've added a bigger test. I found these bugs while working with this
file.
2024-02-09 14:59:42 +01:00
..
Compiled.pnock Fix bugs in the Nockma prettyprinter and parser (#2632) 2024-02-09 14:59:42 +01:00
Identity.nock Add nockma evaluator (#2564) 2024-01-11 12:04:38 +00:00
IdentityPretty.pnock Add nockma evaluator (#2564) 2024-01-11 12:04:38 +00:00
Stdlib.nock Add nockma evaluator (#2564) 2024-01-11 12:04:38 +00:00
StdlibCall.pnock Fast nockma eval (#2580) 2024-01-19 12:01:58 +01:00