-
see https://github.com/CakeML/cakeml/issues/45#issuecomment-116963493
xrchz updated
9 years ago
-
The problem is that, in the AST's FFI call, which foreign function to call is not computed by a CakeML expression. It is a static part of the AST. So we can't just add a simple function called ffi to …
-
The HOL examples directory now includes new technology (under `deep_matches`) for converting HOL case expressions into expressions based on a new `PMATCH` constant with an explicit, more easy-to-manip…
xrchz updated
9 years ago
-
`fun` and `fn` currently only allow variables as formal parameters. For users writing CakeML code, it would be nice to support full-blown patterns (as in SML). There is a question of whether these sho…
xrchz updated
9 years ago
-
Inductive relations and recursive functions that recurse through `LEX` fail or get unprovable termination conditions. The following theorems need to be included somewhere (probably `pairTheory`). Ther…
xrchz updated
9 years ago
-
Currently only < is a primitive, which leads to awkward inefficient translation out of patLang. There's no reason any more not to support more primitive operations directly.
xrchz updated
9 years ago
-
From the README:
```
We develop this using the head of the HOL4 development version in Github
```
But shouldn't the cakeml repo then include HOL4 as a submodule to have a future-proof and reproduci…
-
should be in a top-level directory (or if necessary under the compiler directory). may also benefit from some cleanup/refactoring.
xrchz updated
9 years ago
-
Using a recent (71e8c68) version of Lem, I'm getting the above error:
``` bash
$ ../../lem/lem -isa -lib ../../lem/library *.lem
File "lib.lem", line 48, character 58 to line 48, character 71
Type …