No description
Find a file
2022-12-09 22:15:01 +01:00
.idea cleanup 2022-11-18 14:43:04 +01:00
_build untested outputs 2022-12-09 22:15:01 +01:00
graphs First Commit 2022-11-18 14:25:41 +01:00
src untested outputs 2022-12-09 22:15:01 +01:00
.gitignore added visualisation 2022-11-24 10:19:37 +01:00
.merlin cleanup v2 2022-11-18 14:52:49 +01:00
_tags First Commit 2022-11-18 14:25:41 +01:00
appMedium.native added inputs support. The application can read its input. Missing the output part. 2022-12-09 21:12:37 +01:00
Makefile added application support, removed deprecated "or" in tools, one bug still to fix (types not matching) 2022-11-30 21:35:10 +01:00
outfile added display support for ints + main tested. Ford Fulkerson Finished 2022-11-30 12:48:53 +01:00
outFileApp untested outputs 2022-12-09 22:15:01 +01:00
outFileApp.svg untested outputs 2022-12-09 22:15:01 +01:00
README.md First Commit 2022-11-18 14:25:41 +01:00
test.svg added display support for ints + main tested. Ford Fulkerson Finished 2022-11-30 12:48:53 +01:00

Base project for Ocaml project on Ford-Fulkerson. This project contains some simple configuration files to facilitate editing Ocaml in VSCode.

To use, you should install the OCaml extension in VSCode. Other extensions might work as well but make sure there is only one installed. Then open VSCode in the root directory of this repository (command line: code path/to/ocaml-maxflow-project).

Features :

  • full compilation as VSCode build task (Ctrl+Shift+b)
  • highlights of compilation errors as you type
  • code completion
  • automatic indentation on file save

A makefile provides some useful commands:

  • make build to compile. This creates an ftest.native executable
  • make demo to run the ftest program with some arguments
  • make format to indent the entire project
  • make edit to open the project in VSCode
  • make clean to remove build artifacts

In case of trouble with the VSCode extension (e.g. the project does not build, there are strange mistakes), a common workaround is to (1) close vscode, (2) make clean, (3) make build and (4) reopen vscode (make edit).