caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Toplevel wishlist
@ 2006-01-19 20:13 Andrej Bauer
  2006-01-19 21:01 ` [Caml-list] " Jonathan Roewen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrej Bauer @ 2006-01-19 20:13 UTC (permalink / raw)
  To: Caml list

Thank you for suggestions on how to tweak custom toplevels.

For a while now I have been thinking that there should be a fancy
alternative to the current toplevel. If I had the time, I would actually
go ahead and try to write one. But what would be a good feature list?

I can think of several improvements:

1) First, provide not only a toplevel but also a library that others
could use to make toplevel-like interfaces to ocaml bytecode engine.

2) Do not hardcode stdin/stdout communication into toplevel. Instead,
have a toplevel that communicates with the outside in a more abstract
way. Thus it should be relatively easy to create toplevels that are
equipped with line editing, that communicate through a graphical user
interface (in a natural way), that talk via Texmacs, etc.

3) Equip toplevel with pretty printers that can manage polymorphic
types, and essentially make it possible to pretty print _everything_. It
should be possible to create a toplevel linked to a graphical user
interface that shows pictures and typeset text as results.

4) Provide reasonable configuration options that allow one to customize
the toplevel in a sensible way (such as pre-installed pretty printers
and pre-open modules). Reading stuff _only_ from .ocamlinit is not fancy
enough.

What else can we put on the wishlist?

If only someone else did it :-)

Andrej


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-20  8:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-19 20:13 Toplevel wishlist Andrej Bauer
2006-01-19 21:01 ` [Caml-list] " Jonathan Roewen
2006-01-19 22:32 ` David Teller
2006-01-20  8:09 ` Daniel Bünzli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).