Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ICFP 2013 Programming Contest
Haskell F# Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Glue
fs-eval
hbv
.gitignore
README.md

README.md

ICFP 2013 Programming Contest

Parts

Glue

We have a python script that translates between the web API and our solvers.

Solvers

Our solvers are the meaty bits, writen in F#, Haskell, etc.

Eval mode

The solver expects the first line to be a program to compile, and every following line to be a set of arguments to evaluate using the program.

Solve mode

They will be given the metadata for a problem and try to come up with a plan for solving it within 5 minutes. When they have a plan, they will enact the plan by sending eval and guess requests to stdout and reading the responses from stdin.

Eval

Request

eval
<input-list>

Response

<output-list>
done

where input-list and output-list are a space seperated list of 64-bit vectors in whatever format suits.

Guess

Request

guess
<program>

Response

win|lose
[<input> <ouput>]

where program is the program as a string, input is a counterexample and output is the correct matching output. If the guess was correct, input and output will not be present

Something went wrong with that request. Please try again.