Stream: Archive Mirror: Isabelle Users Mailing List

Topic: [isabelle] Please make OCaml and Ruby part of the Cygwin ...


view this post on Zulip Email Gateway (Aug 19 2022 at 14:09):

From: Makarius <makarius@sketis.net>
On Tue, 22 Apr 2014, Gottfried Barrow wrote:

I went through lots of iterations looking for the right language.

The "right language" depends a lot on what you want to do with it, but
that should be common folklore anyway.

Part of first passing over OCaml was that it doesn't come installed with
Cygwin, where Perl and Python do.

As a Windows user you might be interested in F# http://fsharp.org/ which
seems to have taken over most of the potential market share of OCaml in
recent years. OCaml was once a big thing, but now it is just another
scripting language performance-wise, since it is still not multicore
capable.

But, though It's very easy for me to install OCaml and Ruby on Cygwin,
with Cygwin-Setup.bat, it might not be easy for someone who has never
done it before.

If OCaml and Ruby came as part of Cygwin, in the contrib folder, then
things would be closer to working by magic, if someone was trying to do
what I'm doing.

I don't see the point. The Cygwin-Setup.bat is there to add whatever
might be interesting in addition to the default packages that are
necessary to run Isabelle and its standard tools. The Cygwin installation
dialog is not ultra user-friendly, but any requests for improvements
should be directed to the Cygwin guys and gals, especially Corinna
Vinschen.

I attach a zip file. I don't expect anyone to look at it, but I attach
it to show, as part of the request, that my request has something behind
it.

I did look at it, but not very systematically. Here are a few notes:

Part of the work is related to dealing with the statelessness of the
PIDE. It's not that complex to implement, but my current is idea is to
use a hash table along with a random number generator to get a name.
There's a number of them available, but I guess I'll use the one from
Larry Paulson's book that I acquired recently from the SML/NJ import.
The SML/NJ Library manual has some things to say about it.

Much could be said about random numbers, e.g. see
http://dilbert.com/strips/comic/2001-10-25/ what Scott Adams says. We
have our own old jokes and running gags about the various random
generators that are floating around in the Isabelle sources.

It is generally difficult to produce unique indentifiers that are actually
unique in a sufficiently large scope. Within a running Isabelle/ML
process you can use "serial ()" or "serial_string ()" for that, but it is
also not 100% fool-proof if such ids persist over unrelated Isabelle
sessions.

Makarius

view this post on Zulip Email Gateway (Aug 19 2022 at 14:11):

From: Makarius <makarius@sketis.net>
My hint was more basic that this. Your ML_file references where all
absolute, but by just removing a prefix it becaume relative to the master
directory of the enclosing theory, and thus became "portable".

Makarius

view this post on Zulip Email Gateway (Aug 19 2022 at 14:12):

From: Makarius <makarius@sketis.net>
It is about HOL-Zero and Ocaml as unsafe programming language etc.
A very entangled variant of several related and unrelated threads around
this can be seen here on the HOL mailing list:

http://sourceforge.net/p/hol/mailman/hol-info/thread/E1SN77r-0007Os-05%40mta0.cl.cam.ac.uk/#msg29180495

Title of the thread: "Re: rigorous axiomatic geometry proof in HOL Light".

Makarius

view this post on Zulip Email Gateway (Aug 19 2022 at 14:12):

From: Michael Norrish <Michael.Norrish@nicta.com.au>
Incidentally, the gmane interface to the mailing list, at for example

http://article.gmane.org/gmane.comp.mathematics.hol/1605/

is much nicer than the antiquated UI available through sourceforge.

Michael


The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments.


Last updated: Apr 19 2024 at 20:15 UTC