Git Product home page Git Product logo

course-2017-ocaml-trees's Introduction

Repo for Algorithmique des arbres in OCaml

for University of Bordeaux, Bachelor year 2

To clone this repo, just open a terminal on your windows or linux machine and do

git clone https://github.com/fgolemo/course-2017-ocaml-trees.git

(given that you have git installed)

You can then find the files for the individual exercises number in the root folder. So the code for exercise 9 is called 9-(..).ml and so on. Be careful though, because this numbering might change as we are updating the syllabus (POLY).

To compile an individual file, you just run in a terminal

ocamlbuild FILENAME.native

but FILENAME without .ml. So for example

ocamlbuild 8-insertionsort.native

The .native ending is important. After the compilation was successful (yes, you will get warnings about the bad filename), you can execute the file like this:

./FILENAME.native

or in our example

./8-insertionsort.native

Each file contains a little example to try the function. If you actually play around with the algorithms, I recommend that you install utop and start up an interactive session (just open a terminal, type in utop and hit enter). There you can copy&paste the code from the exercises and try them out more interactively.

course-2017-ocaml-trees's People

Contributors

fgolemo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.