From: <mark@proof-technologies.com>
To: <caml-list@yquem.inria.fr>
Subject: <no subject>
Date: Thu, 07 Oct 2010 19:25:00 +0100 [thread overview]
Message-ID: <1286475900848@names.co.uk> (raw)
Thanks for the quick reply, David.
> What precisely do you mean by a problem - an exception or a syntax error?
An exception, a syntax error, any directive failing, or any other problem
(can't think of other examples at the moment). I think #use aborts on all
these things, but not in a nested way.
> Assuming that it's syntax errors which you're trying to trap, then the
> neatest way would be to use ocamlc and ocamldep with a Makefile
> ....
>
> The toploop's directives are not part of the OCaml language - the toploop
is
> basically intended for debugging (or teaching, or experimenting). What
> exactly are you trying to do with the toploop?
Well my program is a classic LCF-style theorem prover. Not sure if you know
what this is, but basically it's system for performing mathematical proof
that has a special architecture that allows the user to add their own source
code in a way that is guaranteed to be mathematically sound.
I want this to be a simple classic LCF-style system, and the top loop is the
traditional way in which such systems are used. (In fact that was the
original purpose of ML!) So I want to keep using the top loop.
> You could file a feature-request in Mantis for the behaviour of #use to be
> changed - I don't expect it would be that hard to change.
This sounds like a good idea, so long as it's a step in the right direction.
I can't think why anyone would not want the behaviour I suggest. How do I
file a feature request in Mantis?
I would also be interested in a neat shorter term solution that works in the
top loop.
Mark.
next reply other threads:[~2010-10-07 18:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-07 18:25 mark [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-11-05 13:41 (no subject) Hafsa AGOURRAM
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1286475900848@names.co.uk \
--to=mark@proof-technologies.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox