1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-04 06:23:13 +03:00
juvix/test
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
..
Asm Use writeFileEnsureLn in place of writeFile (#2604) 2024-01-31 11:15:17 +01:00
BackendGeb Nockma compile refactor (#2582) 2024-01-16 16:22:10 +00:00
BackendMarkdown Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Casm Nockma compile refactor (#2582) 2024-01-16 16:22:10 +00:00
Compilation Store syntax aliases in serialized scoper infotable (#2605) 2024-01-31 11:56:09 +00:00
Core Use writeFileEnsureLn in place of writeFile (#2604) 2024-01-31 11:15:17 +01:00
Examples Run test suite in parallel (#2507) 2023-11-16 16:19:52 +01:00
Formatter Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Internal Nockma compile refactor (#2582) 2024-01-16 16:22:10 +00:00
Nockma Fix bugs in the Nockma prettyprinter and parser (#2632) 2024-02-09 14:59:42 +01:00
Package Fix typos (#2573) 2024-01-08 13:27:18 +01:00
Parsing Fix typos (#2573) 2024-01-08 13:27:18 +01:00
Reg JuvixReg parser and pretty printer (#2617) 2024-02-09 12:19:29 +01:00
Resolver Fix typos (#2573) 2024-01-08 13:27:18 +01:00
Runtime Nockma compile refactor (#2582) 2024-01-16 16:22:10 +00:00
Scope Nockma compile refactor (#2582) 2024-01-16 16:22:10 +00:00
Termination Fix typos (#2573) 2024-01-08 13:27:18 +01:00
Tree JuvixTree validation (#2616) 2024-02-06 15:46:55 +01:00
Typecheck Fix typos (#2573) 2024-01-08 13:27:18 +01:00
VampIR Use writeFileEnsureLn in place of writeFile (#2604) 2024-01-31 11:15:17 +01:00
Asm.hs Translation from JuvixAsm to C (#1619) 2022-12-06 11:33:20 +01:00
BackendGeb.hs End-to-end Geb compilation tests (#1942) 2023-03-29 14:02:40 +02:00
BackendMarkdown.hs Add MarkdownInfo entry in Module Concrete Decl and proper errors (#2515) 2023-11-16 11:20:34 +01:00
Base.hs Add nockma evaluator (#2564) 2024-01-11 12:04:38 +00:00
Casm.hs Cairo ASM language and interpreter (#2572) 2024-01-12 11:57:02 +00:00
Compilation.hs Remove old typechecker (#2545) 2023-12-01 16:50:37 +01:00
Core.hs Implement core transformation let-hoisting (#2076) 2023-05-16 13:42:44 +02:00
Examples.hs Add a test suite for milestone examples (#1920) 2023-03-24 13:16:26 +00:00
Format.hs Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Formatter.hs Add juvix format command (#1886) 2023-03-29 15:51:04 +02:00
Internal.hs Add translation from Internal to Core (#1567) 2022-11-07 14:47:56 +01:00
Main.hs JuvixReg parser and pretty printer (#2617) 2024-02-09 12:19:29 +01:00
Nockma.hs Nockma compile (#2570) 2024-01-17 11:15:38 +01:00
Package.hs Use JuvixError instead of Text for errors in Package file loading (#2459) 2023-10-23 19:01:36 +01:00
Parsing.hs Disallow tab characters as spaces (#1523) 2022-09-07 13:59:41 +02:00
Reg.hs JuvixReg parser and pretty printer (#2617) 2024-02-09 12:19:29 +01:00
Resolver.hs Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Runtime.hs Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00
Scope.hs [ CI ] New jobs: ormolu and hlint 2022-04-05 19:57:21 +02:00
Termination.hs Add the termination checker to the pipeline (#111) 2022-05-30 13:40:52 +02:00
Tree.hs JuvixTree recursors and transformation framework (#2594) 2024-01-29 16:43:08 +00:00
Typecheck.hs Remove old typechecker (#2545) 2023-12-01 16:50:37 +01:00
VampIR.hs Check valid argument names in YAML (#2193) 2023-06-15 16:42:58 +02:00