diff options
| author | Maxime Dénès | 2013-12-30 10:40:39 -0500 |
|---|---|---|
| committer | Maxime Dénès | 2013-12-30 10:40:39 -0500 |
| commit | ea47086be3b724968053525e8fa795b9cdd77800 (patch) | |
| tree | b888ca03e686b4c44984eb72632cdf35f260efce /dev | |
| parent | f2087508a325bd4dae8be54ea3c6111f6b652775 (diff) | |
Support for evars and metas in native compiler.
Experimental. Turned out to be much harder to implement than I thought. The main
issue is that the reification in the native compiler and the VM is not quite
untyped. Indeed, type annotations for lambdas have to be reconstructed. Hence,
when reifying an application u = t a1 ... an, the type of t has to be known or
reconstructed. It is always possible to do so in plain CIC, when u is in normal
form and its type is known. However, with partial terms this may no longer be
the case, as in: ?1 a1 ... an. So we also compile and evaluate the type of
evars and metas.
This still has to be tested more extensively, but the correction of the kernel
native conversion (on terms without evars or metas) should not be impacted.
Much of this could be reused for the VM.
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/printers.mllib | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/printers.mllib b/dev/printers.mllib index 1d560e6992..9cb46978a9 100644 --- a/dev/printers.mllib +++ b/dev/printers.mllib @@ -104,6 +104,7 @@ Glob_ops Redops Reductionops Inductiveops +Nativenorm Retyping Cbv Pretype_errors |
