Backend for PSoft Tools. This provides support for features that the front end cannot run, such as Dafny operations.
Hosts an environment to verify and run Dafny code.
Hosts an environment to verify Hoare Triples that have been translated to Dafny code.
Provides a tool that generates a control-flow graph from given Java code.
- Node Version 20.xx.xx+
- Install the latest version of npm: https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
- (Optional, HIGHLY RECOMMENDED) Install nvm to manage node versions.
- Install the dependencies:
npm install
- Set up the frontend server: https://github.com/aandrepingu/PSoft-Tools
This application requires .NET SDK 6.0 and Dafny in order to run. We recommend using the provided script ./src/dafnySetup.sh
to automatically install required components; however, these are the steps to manually do so:
- Install .NET SDK 6.0:
sudo apt install dotnet-sdk-6.0
- Install Dafny into the "src/dafny" directory:
cd ./src
wget https://github.com/dafny-lang/dafny/releases/download/v4.4.0/dafny-4.4.0-x64-ubuntu-20.04.zip
unzip dafny-4.4.0-x64-ubuntu-20.04.zip
- Create the required file "src/Dafny-Files/dafnyCode.dfy":
mkdir ./src/Dafny-Files
touch ./src/Dafny-Files/dafnyCode.dfy
- Run the dev server:
npm run dev
- Run the frontend dev server:
cd /path/to/PSoft-Tools/psoft-tools
npm run dev