-
Unfortunately this is sporadic and hard to reproduce, but when using Poly/ML 5.7 and recent (e.g., 6b8bb52) HOL, running `Holmake` sometimes hangs and looking at `top` suggests it is stuck inside an `…
xrchz updated
7 years ago
-
Currently, half of them gets proved inside backendProof (namely the ones that are all called good_syntax) and half gets proved inside the individual files (namely the ongoing label preservation proofs…
-
Tail-recursive functions compile to better code than non-tail-recursive functions. Can we make functions more tail-recursive automatically in a compiler? Yes!
_Example 1:_ length of a list — reason f…
-
The CakeML AST and parser do not seem to do anything too special with pattern wildcards (_) - the parser turns them into variables. As a result, declarations with multiple wildcards may fail to typech…
xrchz updated
7 years ago
-
After downloading a fresh copy of CakeML (as well as PolyML and HOL) and running `Holmake` in the compiler directory, I can't source `compilerTheory` or `lexer_funTheory`.
Here is what happens.
…
-
Would be nice to add this feature to CakeML. Also see this thread for further motivation https://lists.cakeml.org/pipermail/users/2015-October/000066.html
xrchz updated
7 years ago
-
I've just updated to PolyML 5.7, and charsetTheory fails to build.
(Different type constructors)
Found near if ~>> (w, ... ...) = 1 then orb (w, IntInf. Word.word
Argument: width : i…
-
Change the implementation of strings to target something that wastes less space (and is still efficient). This probably means a change in `pat_to_clos`, as well as some more operations required in `cl…
xrchz updated
7 years ago
-
The benchmarks currently make direct use of CakeML AST for things like Array.sub -> Op Asub.
When "Array.sub" is parsed, this instead turns into a long Opapp ... ( ... ), where Array.sub is assumed…
-
Several applicants will use only I/O of the form:
1. read all input from stdin
2. read all commandline arguments
3. perform some translator generated function
4. print result to stdout
5. e…