Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] [Release] ocaml2: ocaml with editable line history
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Mike Potanin <potanin@m...>
Subject: Re: [Caml-list] [Release] ocaml2: ocaml with editable line history
On Thu, 5 Dec 2002, SooHyoung Oh wrote:

>
> I'm very pleased for my first contribution on ocaml world.
> <ocaml2> 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