Best Ocaml Text Editor For Mac

One of the biggest advantages of Bracket is that it can be used on Windows, Linux and Mac OS. It is probably the best free text editor available on the market. Notepad is probably the most popular free text editor for programmers.
Rocky sand studio. Download apps by Rocky Sand Studio Ltd., including Wake Up Time - Alarm Clock, Mail for Gmail, Open Any File, and many more. Rocky Sand Studio is passionate to create amazing apps for Mac. We've made several award winning utilities, popular news readers, desktop social apps. 20M app downloads, 800K daily users.
OCaml-Top is designed for beginners andstudents, and specially tailored for exercises, practicals and simpleprojects
Features
Syntax coloring
Automatic, state-of-the-art code indentation
Naturally avoids most beginner's syntactic mistakes
Intuitive code execution
Snow leopard quicktime. 'Run' button runs just what you would expect: the expression under cursor, and what is above if needed
Automatic type display
Put your cursor on the name of a standard library function, and the type shows up in the status bar. Non-intrusive, but here just when you need it.
Fully compatible with Microsoft Windows XP, Vista, 7 and 8, OSX and Linux.
Documentation
Installation
On Linux or OSX, we recommend you use the OPAM package manager:
First install opam and some gtk dependancies. For example, with Ubuntu:
Then you need to install OCaml:
Finally install ocaml-top
On Microsoft Windows, download and run our binaryinstaller. You will also need a working installation of OCaml itself,for which werecommend theinstaller by Jonathan Protzenko. You need no extra options besides OCamlitself.
Usage
The left pane is the code editor, while the right pane contains the OCaml process that will execute the code.
The in the left margin of the editor is the evaluation mark, showing that the code has been successfully executed up to that point. When pressing the button (or Ctrl e), the expression under the cursor is sent to the OCaml pane, and the answer from OCaml is displayed there. In case of an error, the relevant part of the code in the editor is highlighted.
Since programs are usually written in order, the evaluation mark always progresses from top to bottom, and everything in-between the current mark position and the expression to run will be sent to OCaml first. If you happen to need execution of an expression directly, select it before pressing .
The button runs the whole program. In case you get confused, the button restarts a fresh OCaml, rewinds the evaluation mark, and clears the right pane. And in case you got yourself in a loop, or your program just takes too long, the button can interrupt the current computation.
Keyboard shortcuts
| File management | |
|---|---|
| Ctrl n | Start with a new (blank) file |
| Ctrl o | Load a file |
| Ctrl s | Save the current file |
| Edition | |
|---|---|
| Ctrl c | Copy |
| Ctrl x | Cut |
| Ctrl v | Paste |
| Ctrl z | Undo |
| Ctrl Shift z | Redo |
| Execution | |
|---|---|
| Ctrl e | Execute the current expression |
| Escape | Stop ongoing execution |
| General | |
|---|---|
| Ctrl + | Zoom in |
| Ctrl - | Zoom out |
| F4 | Select font |
| F5 | Switch colors |
| F11 | Switch fullscreen |
| Ctrl q | Quit |
Resources
| OCaml-Top on Github | Latest sources in the official GIT repository |
| Version 1.1.2 | Download for Linux, OSX and Windows |