Skip to content

eleanormally/dafny-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dafny Server

Single dockerfile to verify arbitrary Dafny code.

Endpoints

/health (GET)

Returns the current queue length of compilations. Can be used for health detection and load balancing in k8s.

/compile (POST)

Compiles the given dafny files. Does not give any verification that the service is up until it is finished compiling (long queue can generate wait times as high as 10 seconds)

The body of a compilation request should adhere to the following JSON format (an example can be seen in demo.js):

{
    requester: "<identifier of requesting body>", // not currently in use
    files: [
        //list of dafny files, all will be automatically linked and compiled as a unit.
        {
            name: "<filename>.dfy",
            content: "<file contents>"
        }
    ]
}

About

system to compile dafny on a remote server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published