Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ocamlbuild + Coq
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dmitry Grebeniuk  
View profile  
 More options May 11 2012, 5:54 am
Newsgroups: fa.caml
From: Dmitry Grebeniuk <gds...@gmail.com>
Date: Fri, 11 May 2012 09:54:49 UTC
Local: Fri, May 11 2012 5:54 am
Subject: [Caml-list] Re: ocamlbuild + Coq
Hello.

  I've asked about ocamlbuild on irc, but without any success,
so I'll try to ask in caml-list now.

>  Has anybody tried to compile OCaml + Coq project with ocamlbuild?

  Here is an attempt to make plugin:

https://bitbucket.org/gds/ocamlbuild-coq-attempt

, but the plugin doesn't work as expected: it fails to use rule
"ocaml: mli -> cmi" to produce String0.cmi from the existing
String0.mli file.  If you run script "./run.sh" from repository,
you'll see the problem.

  ygrek gave me the idea that ocamlbuild doesn't see
_build/String0.mli because it doesn't know that this file
was produced by extraction (it seems that ocamlbuild
internally stores known files from _build directory).
  I have no way to tell ocamlbuild in advance which
files will be produced extracting the .v file.
  Maybe there are ways to tell ocamlbuild "just use _build
contents without questions" or "rescan _build directory"?
Or maybe there are other ways to deal with this issue?

  (the ultimate goal of this plugin is to have source .v and .ml
files in project's source tree, without any Coq-extracted
intermediate .ml files, which should reside in _build.)

--
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Romain Bardou  
View profile  
 More options May 11 2012, 8:37 am
Newsgroups: fa.caml
From: Romain Bardou <bar...@lsv.ens-cachan.fr>
Date: Fri, 11 May 2012 12:37:14 UTC
Local: Fri, May 11 2012 8:37 am
Subject: Re: [Caml-list] Re: ocamlbuild + Coq
Le 11/05/2012 11:54, Dmitry Grebeniuk a écrit :

Hello,

I think I was once faced with a similar problem. We can tell Ocamlbuild
when we discover new dependencies (and it will dynamically build them)
but we cannot declare "dynamic productions", i.e. unexpected new files.
I think I discussed this with Nicolas Pouillard at some point and he
agreed it would be a nice addition.

Sorry I don't have any solution though :p

Cheers,

--
Romain Bardou

--
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »