1
1
mirror of https://github.com/anoma/juvix.git synced 2024-11-30 14:13:27 +03:00
juvix/tests
Łukasz Czajka 75bce8f665
Per-module compilation (#2468)
* Closes #2392 

Changes checklist
-----------------
* [X] Abstract out data types for stored module representation
(`ModuleInfo` in `Juvix.Compiler.Store.Language`)
* [X] Adapt the parser to operate per-module
* [X] Adapt the scoper to operate per-module
* [X] Adapt the arity checker to operate per-module
* [X] Adapt the type checker to operate per-module
* [x] Adapt Core transformations to operate per-module
* [X] Adapt the pipeline functions in `Juvix.Compiler.Pipeline`
* [X] Add `Juvix.Compiler.Pipeline.Driver` which drives the per-module
compilation process
* [x] Implement module saving / loading in `Pipeline.Driver`
* [x] Detect cyclic module dependencies in `Pipeline.Driver`
* [x] Cache visited modules in memory in `Pipeline.Driver` to avoid
excessive disk operations and repeated hash re-computations
* [x] Recompile a module if one of its dependencies needs recompilation
and contains functions that are always inlined.
* [x] Fix identifier dependencies for mutual block creation in
`Internal.fromConcrete`
- Fixed by making textually later definitions depend on earlier ones.
- Now instances are used for resolution only after the textual point of
their definition.
- Similarly, type synonyms will be unfolded only after the textual point
of their definition.
* [x] Fix CLI
* [x] Fix REPL
* [x] Fix highlighting
* [x] Fix HTML generation
* [x] Adapt test suite
2023-12-30 20:15:35 +01:00
..
Asm Implement the dynamic dispatch loop in JuvixAsm (#2556) 2023-12-15 19:08:40 +01:00
benchmark Fix benchmarks test compilation (#2552) 2023-12-10 12:13:56 +01:00
Compilation Remove old typechecker (#2545) 2023-12-01 16:50:37 +01:00
Core Fold lets when the bound variable occurs at most once (#2231) 2023-06-29 13:02:10 +02:00
examplesExpected Add a test suite for milestone examples (#1920) 2023-03-24 13:16:26 +00:00
Geb/positive Read Package on demand and cache it (#2548) 2023-12-06 18:24:59 +01:00
Internal Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
negative Improve formatting of function definition arguments (#2551) 2023-12-07 11:26:48 +01:00
positive Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
runtime/positive Improve closure calls in the runtime (#2396) 2023-09-29 14:20:00 +02:00
smoke/Commands Per-module compilation (#2468) 2023-12-30 20:15:35 +01:00
VampIR Add PackageDescription.Basic module Package variant (#2509) 2023-11-13 17:36:18 +00: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