1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-09 22:11:27 +03:00
juvix/test
Paul Cadman df9b17d74f
Fix generation and evaluation of Nock isCell op (#2602)
This PR fixes the generation and evaluation of the Nock isCell op.

As we can see from its
[definition](https://developers.urbit.org/reference/nock/definition),
the isCell op (Nock 3) evaluates its argument:

```
*[a 3 b]            ?*[a b]
```

Previously we were not evaluating the argument before checking if it is
an atom/cell.

Co-authored-by: Jan Mas Rovira <janmasrovira@gmail.com>
2024-01-26 19:37:47 +00:00
..
Asm Nockma compile (#2570) 2024-01-17 11:15:38 +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 Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
Core Factor the JuvixCore -> JuvixAsm translation into JuvixCore -> JuvixTree -> JuvixAsm (#2581) 2024-01-18 15:36:44 +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 generation and evaluation of Nock isCell op (#2602) 2024-01-26 19:37:47 +00: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
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 evaluator (#2589) 2024-01-25 19:11:45 +00:00
Typecheck Fix typos (#2573) 2024-01-08 13:27:18 +01:00
VampIR Nockma compile refactor (#2582) 2024-01-16 16:22:10 +00: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 JuvixTree tests (#2587) 2024-01-25 18:02:06 +00: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
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 evaluator (#2589) 2024-01-25 19:11:45 +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