1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-02 23:43:01 +03:00
juvix/test
Jan Mas Rovira 98b3621ae1
Record patterns (#2271)
- Closes #2269 

Example:
```
type Sum (A B : Type) :=
  | inj1 {
      fst : A;
      snd : B
    }
  | inj2 {
      fst : A;
      snd2 : B
    };

sumSwap {A B : Type} : Sum A B -> Sum B A
  | inj1@{fst; snd := y} := inj2 y fst
  | inj2@{snd2 := y; fst := fst} := inj1 y fst;
```
2023-08-08 16:01:20 +02:00
..
Arity Add juvix global project under xdg directory and other improvements (#1963) 2023-04-13 11:27:39 +02:00
Asm Test numbering (#1977) 2023-04-04 19:29:25 +02:00
BackendGeb VampIR integration (#2103) 2023-05-22 20:18:18 +02:00
Compilation Record updates (#2263) 2023-08-07 12:35:36 +02:00
Core Fix bug in computeTypeInfo (#2234) 2023-06-28 16:08:12 +02:00
Examples Add a test suite for milestone examples (#1920) 2023-03-24 13:16:26 +00:00
Formatter New syntax for function definitions (#2243) 2023-07-10 19:57:55 +02:00
Internal Remove abstract (#2219) 2023-06-30 15:01:46 +02:00
Parsing Add dangling judoc error (#2099) 2023-05-16 15:39:43 +02:00
Reachability Remove abstract (#2219) 2023-06-30 15:01:46 +02:00
Runtime Use stderr for errors in the runtime (#2184) 2023-06-07 14:38:28 +02:00
Scope Record patterns (#2271) 2023-08-08 16:01:20 +02:00
Termination Move termination checker to Internal (#2209) 2023-06-20 11:02:37 +02:00
Typecheck Record patterns (#2271) 2023-08-08 16:01:20 +02:00
VampIR Switch to Halo2 for VampIR backend tests (#2216) 2023-06-21 13:08:19 +02:00
Arity.hs Support implicit arguments (#144) 2022-06-13 14:25:22 +02: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
Base.hs Add juvix global project under xdg directory and other improvements (#1963) 2023-04-13 11:27:39 +02:00
Compilation.hs Pattern matching compilation (#1874) 2023-03-27 10:42:27 +02: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 Add Semigroup instance for AnsiText (#2140) 2023-05-31 08:53:08 +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 VampIR integration (#2103) 2023-05-22 20:18:18 +02:00
Parsing.hs Disallow tab characters as spaces (#1523) 2022-09-07 13:59:41 +02:00
Reachability.hs Compute name dependency graph and filter unreachable definitions (#1408) 2022-07-25 18:38:44 +02: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
Typecheck.hs Add lambda expressions to internal and add typechecking support (#1538) 2022-09-23 15:43:18 +02:00
VampIR.hs Check valid argument names in YAML (#2193) 2023-06-15 16:42:58 +02:00