1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-30 05:42:26 +03:00
juvix/tests
Łukasz Czajka a4f3704f4e
Isabelle/HOL translation: records and named patterns (#2963)
* Closes #2894 
* Closes #2895
* The translation of pattern matching on records is a bit tricky because
one cannot pattern match on records in Isabelle, except in top patterns
of function clauses. We thus need to translate into nested pattern
matching and record projections. Named patterns can be translated with a
similar technique and are also handled in this PR.

Checklist
---------
- [x] record creation
- [x] record projections
- [x] record update
- [x] top-level record patterns
- [x] nested record patterns
- [x] named patterns
- [x] remove redundant pattern matching clauses
- [x] remove redundant single-branch pattern matches
2024-08-29 16:15:58 +02:00
..
Anoma/Compilation Add anoma-bytearray-{to, from}-anoma-contents builtins (#2960) 2024-08-19 11:19:26 +02:00
Asm Remove copy propagation from the native/WASM and Rust pipelines (#2846) 2024-06-20 12:44:15 +02:00
benchmark Merge if -> ite renaming from stdlib (#2869) 2024-07-02 10:03:06 +02:00
Casm Improve specialization optimization (#2944) 2024-08-14 10:04:30 +02:00
Compilation Add do notation (#2937) 2024-08-21 12:01:44 +02:00
Core Fix inference of let and letrec in core (#2953) 2024-08-14 15:15:49 +01:00
examplesExpected Add a test suite for milestone examples (#1920) 2023-03-24 13:16:26 +00:00
Internal Migrate old named application syntax (#2876) 2024-07-12 18:31:09 +02:00
negative Migrate old named application syntax (#2876) 2024-07-12 18:31:09 +02:00
nockma/positive Fix bugs in the Nockma prettyprinter and parser (#2632) 2024-02-09 14:59:42 +01:00
positive Isabelle/HOL translation: records and named patterns (#2963) 2024-08-29 16:15:58 +02:00
Reg/positive Copy propagation in JuvixReg (#2828) 2024-06-18 21:38:02 +02:00
runtime/positive Add an if instruction to JuvixReg (#2855) 2024-06-26 19:08:33 +02:00
Rust/Compilation/positive Improve specialization optimization (#2944) 2024-08-14 10:04:30 +02:00
smoke Release 0.6.5 (#2956) 2024-08-14 17:48:36 +01:00
Tree Fix JuvixTree type unification (#2972) 2024-08-27 10:31:14 +02:00
VampIR Merge if -> ite renaming from stdlib (#2869) 2024-07-02 10:03:06 +02:00
WithoutPackageFile Fix #2510 (#2512) 2023-11-17 16:10:38 +01:00
.gitattributes Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00