List Info

Thread: "ocaml_beginners"::[] Read and write Excel




"ocaml_beginners"::[] Read and write Excel
country flaguser name
Germany
2007-05-20 05:13:13

Is there any library or module which allows to read and write Excel
files? Or perhaps CSV files? Excel can im- and export those as far as
I know.

Thanks

hs

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] Read and write Excel
country flaguser name
United States
2007-05-20 11:30:42

...a quick search on the ocaml hump give me

http://caml.inria.fr/cgi-bin/hump.fr.cgi?contrib=447

2007/5/20, Holger Schulz < schulz%40mathematik.uni-siegen.de">schulzmathematik.uni-siegen.de>:
>
&gt; Is there any library or module which allows to read and write Excel
&gt; files? Or perhaps CSV files? Excel can im- and export those as far as
> I know.
&gt;
> Thanks
&gt;
> hs
>
>

--
Pablo Polvorin

[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] Read and write Excel
country flaguser name
United Kingdom
2007-05-20 13:33:31

On Sun, May 20, 2007 at 12:13:13PM +0200, Holger Schulz wrote:
&gt; Is there any library or module which allows to read and write Excel
> files? Or perhaps CSV files? Excel can im- and export those as far as
> I know.

Yes: http://merjis.com/developers/csv is quite an advanced library
which can deal with CSV and TSV files, and can do lots of useful
things with them. At Merjis all of the bidding systems were driven
out of CSV files, using this library (the files themselves being
edited in OpenOffice).

To read and write Excel (.xls) files you could lash something together
with Perl's Spreadsheet::WriteExcel (http://search.cpan.org/src/JMCNAMARA/),
Spreadsheet::ParseExcel (http://search.cpan.org/~szabgab/) and
perl4caml (http://merjis.com/developers/perl4caml).

Rich.

--
Richard Jones
Red Hat

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] Read and write Excel
country flaguser name
United States
2007-05-20 23:58:07

On Sun, 20 May 2007, Holger Schulz wrote:

> Is there any library or module which allows to read and write Excel
&gt; files? Or perhaps CSV files? Excel can im- and export those as far as
> I know.

I wrote "col&quot; which relies on camlp4 to automatically create converters

between CSV files and records (and tuples and objects as well):

http://martin.jambon.free.fr/ocaml.html#col

It can read the name of the fields from the first row (head of
each column).

It works for ocaml 3.08/3.09 and I started the upgrading process to
camlp4 3.10, but it's not done yet.

Martin

__._,_.___
.

__,_._,___
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )