From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA22290; Thu, 5 Dec 2002 11:05:36 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA22781 for ; Thu, 5 Dec 2002 11:05:34 +0100 (MET) Received: from ns.mccme.ru ([195.133.68.22]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gB5A5U121622 for ; Thu, 5 Dec 2002 11:05:33 +0100 (MET) Received: from mccme.ru (potanin@mccme.ru [195.178.198.7]) by ns.mccme.ru (8.8.5/8.8.5) with SMTP id MAA31538 for ; Thu, 5 Dec 2002 12:59:58 +0300 Date: Thu, 5 Dec 2002 13:20:53 +0300 (MSK) From: Mike Potanin To: Caml-List Subject: Re: [Caml-list] [Release] ocaml2: ocaml with editable line history In-Reply-To: <002701c29c2c$2dcf9c70$fe00a8c0@hama> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, 5 Dec 2002, SooHyoung Oh wrote: > > I'm very pleased for my first contribution on ocaml world. > is the ocaml interpreter with editable line history which > implemented using libgetline library. > Please visit http://www.taglib.co.kr/ocaml/index.html and enjoy it. The interesting effect will if evaluate code let rec a _ = a () in Printf.printf "%s" "# " ; flush stdout; a ();; in the ocaml2 :-). Whether there is a way to create the new top using getline? It would be very nice! > > ===================== Readme ============== > What is ocaml2? > If you want to correct mistyped lines in ocaml, ocaml2 is very useful. > It supports editable line histories using libgetline. > See getline manuaual for more information. > > Version: ocaml2 version 0.1 > > Prerequsite: (I tested only on these releases.) > ocaml: version 3.06 > libgetline: version 3.9 > > Files: > README - This file > Makefile - Makefile > getline.ml - external function declarations > log.make - make log > ocaml2.ml - main program > prim_getline.c - C interface functions for libgetline > > How to make: > (0) untar and cd in the directory > % tar zxvf ocaml2.tgz > % cd ocaml2 > (1) edit Makefile (eg: % vi Makefile) > I assume that "getline.h" is in /usr/local/include and > libgetline.a in /usr/local/lib. > (2) % make > (3) (optional testing) % ./ocaml2 > (4) (optional installation) > % su > # make install > > How to use: > See getline manual. (eg. % man getline) > > --- > SooHyoung Oh > http://www.duonix.com > > ------------------- > To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr > Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners