Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Graphmanipulation in Ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gleb N. Semenov <semenov@j...>
Subject: Re: [Caml-list] Graphmanipulation in Ocaml
henridf@lcavsun1.epfl.ch wrote:

>judging by the interface and docs, it looks pretty nice.
>i would be glad to have this in caml.
>
>i still would like to browse the code before deciding, but i am quite 
>tempted to take this on as a little project.
>
>does anyone have experience porting sml code to caml? i would expect 
>everything is fairly mechanic, or can there be differences which require 
>non-trivial effort to resolve?
>

The main problem will be to 'translate' code structure from SMLNJ module 
system to Ocaml'
modules and classes. The library as You can see is written in OO-style 
but whithout classes
(due to the absense of classes in SML :)) ).  So the main problem  is 
usual -- code stucture
and the general design.  The rest -- is mechanical coding:)

Somewere in documentation for SMLNJ(if my mind does non fail me) I have 
founded the
description of the differences between SML and OCaml.The most of them 
are concerning
the syntax.

>
>thanks
>henri
>
>
>  
>
>>Arne Koewing wrote:
>>    
>>
>>>Hi!
>>>
>>>I am looking for an library for graph-manipulation/handling.
>>>Do you know any implementations for ocaml?
>>>
>>>thx,
>>>Arne
>>>
>>>      
>>>
>>I have seen the very powerfull graph library in MLRISC package which is
>>included to New Jersey SML distribution (SMLNJ). MLRISC is a big and 
>>quite universal set of libraries for building SML compilers for RISC
>>architectures.
>>
>>For the first look, the graph library is quite usefull and
>>clear('understandable' :)),
>>but it is written in SML. It is not very hard to rewrite it in OCaml
>>language.
>>If this project will start, You may consider me as a participant. But I
>>have not much
>>time for such work(for me this work will be the 'fun-project').
>>Let You look at MLRISC graph library and give Your opinion about the
>>library
>>and about the possibility of using it in Your tasks :)
>>
>>The second variant. You may search caml-list for 'graph'. Some times ago
>>it was
>>small discussion there about exactly the same problem. You may find some
>>links to less powerfull and universal graph libraries but written in
>>ocaml.
>>

Regards!
GNS

-- 
Gleb N. Semenov     | 127015, Bol.Novodmitrovskaya St 14-1, Moscow, Russia
Security Specialist | Phone: +7(095)411-7601   Fax: +7(095)411-7602
Jet Infosystems     | E-mail: semenov@jet.msk.su



-------------------
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