1. 19 Jan, 2017 2 commits
  2. 18 Jan, 2017 1 commit
    • Alexander Soen's avatar
      Translation of sets of sets now possible · 2e0a1c69
      Alexander Soen authored
      Currently the expected translation function works for constants. This
      needs to be extended for other term types.
      The robustness of the type inference can also be improved on.
      Currently the new type is generated by appending new elements to a list
      which has an implicit ordering.
  3. 12 Jan, 2017 4 commits
  4. 11 Jan, 2017 1 commit
  5. 10 Jan, 2017 4 commits
  6. 05 Jan, 2017 1 commit
  7. 04 Jan, 2017 2 commits
    • Alexander Soen's avatar
    • Alexander Soen's avatar
      Add S-expression parser script · 398a7c0d
      Alexander Soen authored
      Script added parses an s-expression into a statement in the defined
      lanugage. Translation is successful. (Note: do notation in function
      definitions will not translate)
      To do:
        - Create test cases for the s-expression parser
        - Create a parser for enviromental variables
        - Create framework for inputing s-expressions in sml
  8. 03 Jan, 2017 1 commit
  9. 19 Dec, 2016 4 commits
  10. 18 Dec, 2016 4 commits
  11. 14 Dec, 2016 3 commits
  12. 12 Dec, 2016 1 commit
    • Alexander Soen's avatar
      Scheduler translate complete · e908ce04
      Alexander Soen authored
      The "translate" function was called on the find_steps function and the
      eval_n_steps function. Holmake did not return an error so the
      compatibility of the HOL functions to cakeml is assumed to be good.
        -- When functions in HOL are being translated all functions within
      that function must be previously translated explicitly.
        -- It seems that CakeML does not translate lambda expressions well.
        -- Functions must be translated explicitly again when calling from
      another library/script
      Things To Do:
        -- Compile the HOL code using CakeML.
        -- Explore S-expressions.
        -- Fix the fibonacci test, it partially works but fib_n_def does not
      seem to evaluate down to a number, only some-kind of expression format.
        -- Prove some properties about the expression language.
  13. 09 Dec, 2016 1 commit
    • Alexander Soen's avatar
      Start CakeML translation · b4426630
      Alexander Soen authored
      Have gotten the evaluation functions to translate currently.
      The fibonacci test in the test script is broken currently.
      Things To Do:
        - Translate the scheduler with CakeML tools
        - Fix the fibonacci test script
        - Edit the Holmakefile such that it can be more general for CakeML
            directory location
        - Add test scripts for scheduler
        - Prove correctness of scheduler evaluation
  14. 08 Dec, 2016 3 commits
    • Alexander Soen's avatar
      Fix schedule script · 9cbd8a98
      Alexander Soen authored
      Now will find steps to execute on a program without excessive re-evaluation.
    • Adam Nelson's avatar
    • Adam Nelson's avatar
      Make symbolic an applicative (incomplete) · 9fb09332
      Adam Nelson authored
      The symbolic value monad was too general, making it impossible to prove
      anything useful about it. For example, a symbolic value could become
      unresolvable in response to a new resolved value being added to the context,
      making recursive resolution loop forever.
      In order to prove that resolution terminates, symbolic was changed to an
      applicative. The new symbolic type keeps a list of all locations that it depends
      on, including a special case for "the last value of this memory location before
      this action".
      This commit only contains changes to uvmMemoryTheory and its dependencies.
      uvmThreadSemantics and uvmScheduler are not done yet, and do not compile.
  15. 07 Dec, 2016 1 commit
  16. 06 Dec, 2016 3 commits
  17. 05 Dec, 2016 1 commit
  18. 04 Dec, 2016 1 commit
  19. 02 Dec, 2016 2 commits
    • Alexander Soen's avatar
      Add fibonacci test · 127328f9
      Alexander Soen authored
      Fibonacci test was added to the test file.
      General debugging while testing.
      Things to do:
        - Possible "Free" and "Halt/Fin" constructors for the expression
        - Factorial Test
    • Alexander Soen's avatar
      Refactor extExprScript · bd7bfb81
      Alexander Soen authored
      Mirrored the stylistic changes made in previous commits.
      The new structure of evaluation is:
        - eval_step
            - eval_xpr_step
            - eval_bool_step
      where eval_xpr_step and eval_bool_step are side effect free.
      Things to do:
        - Create test cases for correctness
          - Factorial Function