Commit Graph

628 Commits

Author SHA1 Message Date
Rudi Grinberg 5ca193128c Add camomile dep to utop
Right now it's being pulled transitively from zed, but it's being used directly
in utop
2017-08-04 18:20:19 +01:00
Jérémie Dimino 4fcf11ae5f Create README.md 2017-06-13 16:46:36 +01:00
Jeremie Dimino 06460235d6 Fix #211 2017-06-07 09:34:36 +01:00
Jeremie Dimino d658bd8f63 Update changelog 2017-05-30 12:17:04 +01:00
Louis Gesbert ab45d0499f Install utop.el too 2017-05-30 12:15:23 +01:00
Jeremie Dimino ede0a15b4d Update changelog 2017-05-29 11:28:59 +01:00
Jeremie Dimino 7327725f23 Fix opam file 2017-05-26 16:09:08 +01:00
Jeremie Dimino 9045874145 add description file 2017-05-26 15:34:28 +01:00
Jeremie Dimino 0d2217d3e0 Fix opam file 2017-05-26 15:32:22 +01:00
Jeremie Dimino fa6a8c7c6b Update changes 2017-05-26 15:30:41 +01:00
Jeremie Dimino 202917d9d3 Resurect UTop_main.interact 2017-05-26 15:26:27 +01:00
Jeremie Dimino a1d147022a Update the examples 2017-05-26 14:43:45 +01:00
Jeremie Dimino 4395be09da remove the css 2017-05-26 14:33:35 +01:00
Jeremie Dimino 1497232d4e findlib_top --> findlib.top, topkg setup 2017-05-26 14:33:20 +01:00
Andrea Richiardi ea49d8e947 Add support for Reason
Include the necessary hooks for phrase detection in Reason.
2017-05-09 07:43:46 +01:00
Jérémie Dimino fa27469e60 typo 2017-05-04 17:55:47 +01:00
Fabian 6759d18811 Add changes entry 2017-04-28 09:25:39 +01:00
Fabian 8ed78f2e39 Add command line option to enable implicitly generated bindings 2017-04-28 09:25:39 +01:00
Fabian 1639367765 Bind expressions to _0, _1, etc. (#161, #193) 2017-04-28 09:25:39 +01:00
Jérémie Dimino e0b4e635c7 Fix #205 2017-04-26 08:41:43 +01:00
Andrea Richiardi d9f198899b Refactor hooks for better handling of phrase eval, closes #201.
The patch tries to improve on the current way of evaluating a phrase and
skipping to the next. It removes both `utop-skip-to-end-of-phrase` and
`utop-skip-blank-and-comments`, but adds `utop-next-phrase-beginning`.
We assume `utop-discover-phrase` is always returning the end position as
at end of a `;;`. Thereafter we use `utop-next-phrase-beginning` to skip
to the next phase if `utop-skip-after-eval-phrase` is non-nil.
2017-04-24 07:54:13 +01:00
Jeremie Dimino ef1e2a619d Update opam file 2017-04-21 17:43:33 +01:00
Deokhwan Kim 644278311d Simplify #if directives
UTop does not support OCaml < 4.02 anymore.
2017-04-20 13:55:08 +01:00
Jeremie Dimino 7c2ed29196 Update changelog 2017-04-20 11:14:36 +01:00
Deokhwan Kim 5e419e3f82 Run ppx preprocessors for both "input" and "input-multi" commands
Fix #192
2017-04-20 11:03:27 +01:00
Jeremie Dimino a9696b7ea3 Update changelog 2017-04-11 17:37:01 +01:00
Jeremie Dimino a71455b2fd Fix directive name 2017-04-11 17:36:56 +01:00
Fabian 4661944155 Add #utop_stash and #utop_save
- Strip colour terminal escapes from errors
- Store inputs and outputs seperately in UTop_history
- Add #utop_save, which prints inputs and outputs similar to a simple
  prompt
2017-04-11 17:31:58 +01:00
chrismamo1 6b8c78de58 stashing rebased (by chrismamo1) 2017-04-11 17:31:58 +01:00
Jeremie Dimino f5ee983845 Link the toplevel with -linkall 2017-04-10 18:13:54 +01:00
Jeremie Dimino 4abe1ca311 Topfind.don't_load --> Topfind.don't_load_deeply
Since we don't use `ocamlfind ocamlmktop` anymore
2017-04-10 18:13:32 +01:00
Richard Bonichon f64e9d2e78 Replace handwritten ppf with Format.formatter_of_buffer call
- Behavior is identical
- Makes utop forward compatible with merged PR 595 of ocaml trunk
2017-04-05 13:34:41 +01:00
Jeremie Dimino e45dcbdf9f typo 2017-04-04 15:45:59 +01:00
Jeremie Dimino 1e3b89d30a Update travis file 2017-04-04 14:30:19 +01:00
Jeremie Dimino ea80ba6400 Add findlib_top deps 2017-04-04 14:20:25 +01:00
Jeremie Dimino 46355e96f3 1.20 2017-04-04 13:57:08 +01:00
Jeremie Dimino 4826d0558a Added comment in Makefile 2017-04-04 13:51:58 +01:00
Jeremie Dimino 2f64eb4785 restore expunge 2017-04-04 13:36:28 +01:00
Jeremie Dimino 8954a2e908 Setup installation of utoprcs and man pages 2017-04-04 13:36:28 +01:00
Jérémie Dimino e8723c0b9b Update utop.opam and README.md 2017-04-04 13:36:28 +01:00
Jérémie Dimino eae41f42a6 Removed camlp4/camlp5 2017-04-04 13:36:28 +01:00
Jérémie Dimino ba3d278b32 Switch to jbuilder 2017-04-04 13:36:28 +01:00
Jeremie Dimino d6f6a9465a Typo
Fix #196
2017-03-22 17:33:42 +00:00
Fabian f2015062fa Mention #help in #utop_help (#190) 2016-11-16 07:47:24 +00:00
Jérémie Dimino a7e716dd7e Merge pull request #183 from rleonid/constrain_oasis_in_opam
Constrain the oasis dependency
2016-10-07 17:40:29 +01:00
Leonid Rozenberg b3d617eef8 Conflict with oasis 0.4.7 2016-10-07 12:36:30 -04:00
Jérémie Dimino 85b8a93342 Merge pull request #182 from rleonid/add_myocamlbuild_source_directive
Add source directive for accurate error line numbers
2016-10-07 17:32:23 +01:00
Leonid Rozenberg 776f14aeb9 Constrain the oasis dependency 2016-10-07 12:22:38 -04:00
Jérémie Dimino 3ff8459513 Merge pull request #181 from rleonid/complete_mod_use_too
Tab complete mod_use directives.
2016-10-07 17:17:50 +01:00
Leonid Rozenberg 7dcdfaa6a9 Tab complete mod_use directives. 2016-10-07 12:14:58 -04:00