summaryrefslogtreecommitdiff
path: root/src/lem_interp
diff options
context:
space:
mode:
authorAlasdair Armstrong2018-09-10 16:53:39 +0100
committerAlasdair Armstrong2018-09-10 16:58:00 +0100
commit11618832e390711c198f816c1b7fb38e8c79a6aa (patch)
treeb8079d00ae37abf4581ce3de07f0b7b9690f362e /src/lem_interp
parentba30f984f8fd98d9c35b9660d8e7db498369c2b9 (diff)
Various fixes
C: Don't print usage message and quit when called with no arguments, as this is used for testing C output OCaml: Fix generation of datatypes with multiple type arguments OCaml: Generate P_cons pattern correctly C: Fix constant propagation to not propagate letbindings with type annotations. This behaviour could cause type errors due to how type variables are introduced. Now we only propagate letbindings when the type of the propagated variable is guaranteed to be the same as the inferred type of the binding. Tests: Add OCaml tests to the C end-to-end tests (which really shouldn't be in test/c/ any more, something like test/compile might be better). Currently some issues with reals there like interpreter. Tests: Rename list.sail -> list_test.sail because ocaml doesn't want to compile files called list.ml.
Diffstat (limited to 'src/lem_interp')
0 files changed, 0 insertions, 0 deletions