Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.13 KB

HOW_TO_USE_ARTIFACT.md

File metadata and controls

33 lines (26 loc) · 1.13 KB

How to use the artifact

Requirements

Getting Started

  1. Download the appliance (the image of the VM)

  2. Extract the downloaded artifact.

  3. Import the appliance and create a VM

  • Click File -> Import Appliance on VirtualBox and choose lambda-dti/vm/lambda-dti.ova
  • A new VM will be created
  1. Start the VM
  • The VM is configured to automatically login as popl user and open a terminal
  1. Start the interpreter and try it!
  • Run ldti on the terminal
  • Try some inputs
    • Input: # (fun (x:?) -> x 2) (fun y -> y);;
    • Output: - : ? = 2: int => ?

Next Step

Please see ~/lambda-dti/README.md for more examples and full syntax. ~/lambda-dti/test/test_examples.ml also contains sample programs.

Remark

  • To rebuild the interpreter, run dune build && dune install in ~/lambda-dti/
  • Linux users and password
    • User: root / Password: popl
    • User: popl / Password: popl