Skip to content

louisabraham/domical

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Domical

Add OCaml support to https://iodide.io/

Demo: https://louisabraham.github.io/domical/

How to use

In a iodide notebook, add a plugin cell:

%% plugin

{
  "languageId": "ml",
  "displayName": "OCaml",
  "codeMirrorMode": "mllike",
  "url": "https://louisabraham.github.io/domical/eval.js",
  "module": "evaluator",
  "evaluator": "execute",
  "pluginType": "language"
}

Build requirements

To recompile the eval.js script, you need:

Build

make

TODO

  • add JS bindings to share variables between OCaml and JS

About

In-browser OCaml notebooks 🐪

Resources

Stars

26 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors