Commit Graph

46 Commits

Author SHA1 Message Date
Xin,Gao 328846ee1a SELFOUR-421: crefine builds 2016-09-22 19:11:37 +10:00
Joel Beeren df877769fc SELFOUR-421: refine done 2016-09-22 19:11:36 +10:00
Joel Beeren 3c223b42fe SELFOUR-421: AInvs done, no added invariants yet 2016-09-22 19:11:29 +10:00
Corey Richardson 99a6ecae27
tools: haskell-translator: avoid needless case distinction 2016-02-01 19:45:44 +11:00
Corey Richardson 325176fb86
tools: haskell-translator: fix some minor issues found by pylint 2016-02-01 19:45:43 +11:00
Corey Richardson 630ba6502c
tools: haskell-translator: remove unused import 2016-02-01 19:45:42 +11:00
Corey Richardson f854a68da0
tools: haskell-translator: remove BracedString accidental leftover debug argument 2016-02-01 19:45:42 +11:00
Corey Richardson a8aea960f3
tools: haskell-translator: use a Def class instead of a dict 2016-02-01 19:45:41 +11:00
Corey Richardson 307fa64568
tools: haskell-translator: use new-style classes 2016-02-01 19:45:40 +11:00
Corey Richardson 4b003c76f7
tools: haskell-translator: more sets instead of dicts 2016-02-01 19:45:39 +11:00
Corey Richardson c4da3e652c
tools: haskell-translator: remove unused actual_fn 2016-02-01 19:45:38 +11:00
Corey Richardson 2b0734fb46
tools: haskell-translator: explicitly accept only one of ONLY, NOT or BODY 2016-02-01 19:45:37 +11:00
Corey Richardson 7de1ca892e
tools: haskell-translator: remove unused defsincludingarch 2016-02-01 19:45:37 +11:00
Corey Richardson 213abfe645
tools: haskell-translator: remove NOTBODY handling, which is unused and seems equiv to NOT 2016-02-01 19:45:36 +11:00
Corey Richardson 40c939a0c6
tools: haskell-translator: sprinkle some comments about type translation 2016-02-01 19:45:35 +11:00
Corey Richardson b4aa515af7
tools: haskell-translator: comment braces.py heavily 2016-02-01 19:45:34 +11:00
Corey Richardson 23d7176519
tools: haskell-translator: emit not about type assignment warning 2016-02-01 19:45:33 +11:00
Corey Richardson 794c9ebf83
tools: haskell-translator: remove serialisable proofs 2016-02-01 19:45:33 +11:00
Corey Richardson 18dec8c645
tools: haskell-translator: comment type_conv slightly 2016-02-01 19:45:32 +11:00
Corey Richardson cc220f55bc
tools: haskell-translator: meaningless refactor of reduce_to_single_line 2016-02-01 19:45:31 +11:00
Corey Richardson cd90d49778
tools: haskell-translator: remove vestigial actual_fn handling 2016-02-01 19:45:30 +11:00
Corey Richardson 82e3aa08f5
tools: haskell-translator: rename discard_n to discard_line_numbers 2016-02-01 19:45:29 +11:00
Corey Richardson ce68e85f81
tools: haskell-translator: clean up create_def_2 somewhat 2016-02-01 19:45:28 +11:00
Corey Richardson 5ae28a5318
tools: haskell-translator: remove more T -> bool dicts-as-sets nonsense 2016-02-01 19:45:28 +11:00
Corey Richardson 143d8fdfe4
tools: haskell-translator: use lists instead of dicts from T -> bool 2016-02-01 19:45:27 +11:00
Corey Richardson ceb83eabcb
tools: haskell-translator: use dict.get 2016-02-01 19:45:26 +11:00
Corey Richardson 833c7cd08d
tools: haskell-translator: minor cleanup to use generators/lazy iterables where applicable 2016-02-01 19:45:25 +11:00
Corey Richardson e12f0fec70
tools: haskell-translator: python3 compat by running python-modernize 2016-02-01 19:45:24 +11:00
Corey Richardson dec92cb7d0
tools: haskell-translator: braces: don't copy argument to startswidth/endswith
It's never used with non-string objects, and just looks weird. I was also
curious if it impacted performance. Turns out the answer is a significant
but small yes: about 30ms, or 4.2%
2016-02-01 19:45:24 +11:00
Corey Richardson 416cdae700
tools: haskell-translator: reformat with autopep8 2016-02-01 19:45:23 +11:00
Corey Richardson d184dabee5
tools: haskell-translator: use 'not in' instead of 'not ... in ...' 2016-02-01 19:45:22 +11:00
Corey Richardson 3634e5419c
tools: haskell-translator: use 'is None' and 'is not None' 2016-02-01 19:45:21 +11:00
Corey Richardson 55674b1359
tools: haskell-translator: replace tabs inside strings and comments with spaces 2016-02-01 19:45:20 +11:00
Corey Richardson 50e6ad4434
tools: haskell-translator: autoformat python files with yapf 2016-02-01 19:45:20 +11:00
Daniel Matichuk fad2c6aae9 paramatrised abstract and haskell specs over L4V_ARCH
Haskell translator was modified to support multiple translations
of the haskell, with different build parameters.
2016-01-13 12:01:40 +11:00
Thomas Sewell 043a69c81b Fix Orphanage from array changes, refactor.
Some generalisation is done in finaliseSlot_invs'' to avoid
duplicating it in Orphanage and PageTableDuplicates.

Finally cleanup in haskell translation.
2015-12-02 09:15:32 +11:00
Joel Beeren 457a55a831 add arch_tcb object to C, rename aep -> ntfn 2015-11-20 16:02:13 +11:00
Rafal Kolanski 90fa075922 priority-bitmap: haskell translator: translate FiniteBits class 2015-09-28 08:09:07 +10:00
Gao Xin bd0f0c29d1 small fixes on haskell translator and haskell spec templates 2015-05-28 11:30:22 +10:00
Thomas Sewell 048365732e Adjust make_spec.sh to handle other working dirs.
Demanding that the tool be run from its own directory was getting
silly considering how far away that is from the resources it operates
on.
2015-02-03 12:36:02 +11:00
Gerwin Klein 28c32049b1 discard explicit instance declarations for 'Show' 2014-11-20 22:14:49 +11:00
Gerwin Klein cf3c60e70b update comments; fix version generation 2014-11-20 22:14:06 +11:00
David Greenaway 3fb7f99d55 make-spec: Avoid generating unnecessary whitespace in instance proofs. 2014-10-21 21:36:27 +11:00
Gerwin Klein 1273b8aac8 fix haskell version generation 2014-07-21 11:18:14 +02:00
Gerwin Klein f37be4295d less disconcerting warning messages.. 2014-07-21 11:17:34 +02:00
Gerwin Klein 2a03e81df4 Import release snapshot. 2014-07-14 21:32:44 +02:00