Skip to content

An efficient, intuitive and cross-platform Ocaml IDE

License

Notifications You must be signed in to change notification settings

Naereen/BetterOCaml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website betterocaml.ml GitHub license Compatibility

BetterOCaml

An efficient, intuitive and cross-platform web Ocaml IDE

Installation / Usage

The IDE is hosted here but you can host a your own version by simply copy files from src directory on your host

How to use ?

editor

The editor is made of 4 parts :

  • 1 Controls : with these button you can add, execute, save and load code in the editor and access to settings
  • 2 Tabs : This is where you can switch between multiple files
  • 3 Editor : You can type code here and execute with ctrl+enter
  • 4 Output & Console : This the output of ocaml, you can also type command here

Theme

You can choose the theme in the settings in the top right corner If you have any suggestion for theme, open an issue :)

Library

Betterocaml is made with :

Use offline?

On a laptop or desktop

  • If you visit the editor webpage using your favorite browser, and if it works fine, you can add the link to your ⭐ "favorites", and then later on, if you open the direct link, it should work and load back BetterOCaml... even if your browser is offline!

  • This can only work if you don't clean-up or delete the cache of your browser, but it should work even if you turn-off and turn-on again your laptop!

  • If you want a nicer user experience, @Naereen recommends trying WebCatalog, a multi-platform desktop app (for *NIX, Windows and Mac OS), and you can then use it to "install" the BetterOCaml editor, along with its integrated OCaml interpreter (of course), as a "native" desktop app. It then appears in the menu of your system, and it works offline! See this 1:30min tutorial in video

On a smartphone

  • It should also work, but the support could be improved (or the website could be bundled as a iOS/Android app!).

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Apache 2.0

About

An efficient, intuitive and cross-platform Ocaml IDE

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 73.8%
  • CSS 14.8%
  • HTML 8.7%
  • OCaml 2.2%
  • Other 0.5%