-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[compiler] modes in SymbolMap + macro clone
- remove modes from program - modes are deduced from types - modes are added to the symbol map during the creation of the indexing - add clone function for terms, this is needed since terms contains pointers: memory sharing cannot be performed - macro are cloned before doing beta reduction this avoids type assignments to be wrongly assigned by side effects (add test for this: see macro_type.elpi) - typechecker does not perform typechecking if the ty projection of a ScopedTerm has been already set (this means that the term has already been typechecked) - pretty printer of scoped term takes a function printing values carried by Uvar (Uvar carries a polymorphic object)
- Loading branch information
Showing
11 changed files
with
247 additions
and
116 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.