An open API service indexing awesome lists of open source software.

https://github.com/gmmorris/theocamlsystem4.06inreason

A copy of the TheOCamlsystem4.06 with all code examples in ReasonML
https://github.com/gmmorris/theocamlsystem4.06inreason

Last synced: 3 months ago
JSON representation

A copy of the TheOCamlsystem4.06 with all code examples in ReasonML

Awesome Lists containing this project

README

        

The OCaml system release 4.06 in ReasonML
===============================

A clone of the original OCaml system manual written by __Xavier Leroy__, __Damien Doligez__, __Alain Frisch__, __Jacques Garrigue__, __Didier Rémy__ and __Jérôme Vouillon__ with all code examples written in ReasonML instead of OCaml.
All original rights their and I am simply trying to make the docs more accesible to the ReasonML community.

The original OCaml docs are on [caml.inria.fr ](https://caml.inria.fr/pub/docs/manual-ocaml/index.html)

# Where
You can view the docs online here: __[gmmorris.github.io/TheOCamlsystem4.06InReason](http://gidi.io/TheOCamlsystem4.06InReason/index.html)__

# Why
I have been trying to learn ReasonML and in order to understand the ecosystem properly I felt I should understand OCaml and so I have been referring to the OCaml manual quite alot.
The one annoyance I have had is that going back and forth converting the OCaml code to ReasonML code has been a little annoying and the Chrome extension didn't seem to do well on these pages.
To rectify this I wrote a small script which creates a copy of the docs and converts all the code snippets inside of it.

# How can I contribute?
If you find a section of the code hasn't been converted properly (which is likely as this has been done programmatically) please do correct it and and issue a PR.
Please __do not__ change the _docs/_ folder but rather make the correction in the _./convertToReason/index.js_ script or the _./TheOCamlsystem4.06/_ documentation, and then regenerate the docs folder by running:
```bash
cd ./convertToReason
npm i
node ./index.js
```

This will rebuild the docs and allow you to commit and make a Pull Request. :)