Commit Graph

13 Commits

Author SHA1 Message Date
Jeremie Dimino 5be7134436 silence camlp4 2014-04-24 09:11:19 +01:00
Jeremie Dimino 991ae65caa make utop work with trunk 2014-02-14 09:53:18 +00:00
Jeremie Dimino bc85016584 fix #38
Handle errors from custom camlp4 ast filters
2013-11-20 09:41:06 +00:00
Matthias Andreas Benkard 244c6cfe01 Apply maintainer's suggestions. 2013-04-14 13:32:04 +02:00
Matthias Andreas Benkard bef8cb8fed Add function `parse_use_file`. 2013-04-03 21:21:52 +02:00
Jérémie Dimino 7e7116ca9d fix detection of eof reaching when using camlp4 2013-03-09 19:15:14 +00:00
Jeremie Dimino a3367ec947 handle camlp4ast -> ocamlast conversion errors
Ignore-this: 80e1397388e84be3a301279b26da1b30

darcs-hash:20120223132338-c41ad-ef4dc650c12d214c9b898da6acd408fb327d2449
2012-02-23 14:23:38 +01:00
Jeremie Dimino f819014eb9 strip camlp4 error messages
Ignore-this: d9cee7dccc2270054156437b92e5e57e

darcs-hash:20120222162516-c41ad-b97dd13591562c7fdb96ede631b501f4d392e32b
2012-02-22 17:25:16 +01:00
Jeremie Dimino 4fc06ba0a3 correctly lex quotations and antiquotations and do completion inside antiquotations
Ignore-this: 399f6b2dd65fd530e684d09cf5d57d0a

darcs-hash:20120222155931-c41ad-835a2ccf63ac1e853846972880a49d1f8ff6a236
2012-02-22 16:59:31 +01:00
Jeremie Dimino 65ad8cd988 make UTop_camlp4 public so the user can reuse it
Ignore-this: 103cabecad95046cf6686b55028de6c9

darcs-hash:20120220101444-c41ad-5e51be240cb26f1ca02fc37655d464b5acf1cbab
2012-02-20 11:14:44 +01:00
Jeremie Dimino 40c2801b99 execute delayed actions before parsing with camlp4
Ignore-this: 162f06f1949d9af97793705ffd762a7

darcs-hash:20120220100112-c41ad-251c93cbec866030e3d736083db3a974e0bf59bf
2012-02-20 11:01:12 +01:00
Jeremie Dimino dbae1b32bc typo
Ignore-this: 35a418560754730e6c52f8730ba47b59

darcs-hash:20120220095457-c41ad-50a3a983630fff04845f8ba1cca47b261d897fcd
2012-02-20 10:54:57 +01:00
Jeremie Dimino 4a43491f55 next gen utop
Ignore-this: c0e7aa3db012df3af520003d99403929

- reimplement the toplevel loop without using the standard one
- handle ocaml parsing/typing/compilation error messages to correctly
  highlight error locations in the console and in emacs
- detect incomplete input and don't try to evaluate it
- automatically run with Lwt_main.run values with type _ Lwt.t
- colorize values

darcs-hash:20120211092107-c41ad-de115ed1ec0806b4261a3182f58fb2498e040d9d
2012-02-11 10:21:07 +01:00