caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re:  hypertext ML code
@ 1995-12-28 15:59 Valerie Menissier-Morain
  1995-12-28 16:06 ` Mark Hayden
  0 siblings, 1 reply; 6+ messages in thread
From: Valerie Menissier-Morain @ 1995-12-28 15:59 UTC (permalink / raw)
  To: caml-list, hayden

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 861 bytes --]


Etags (for emacs), ctags (for vi) do this. It seems to me that there was
a small package to create ml ad hoc tags in the distribution of Caml-Light
0.6 with the name mletags.

-----------------------------------------------------------
Valérie Ménissier-Morain 
-----------------------------------------------------------
INRIA Projets Coq & Cristal
Domaine de Voluceau -- BP 105 -- F-78153 Rocquencourt Cedex
Tel.: (33 1) (16 1) 39 63 55 98 
Fax: (33 1) (16 1) 39 63 53 30
E-mail: Valerie.Menissier@inria.fr
-----------------------------------------------------------
Université d'Évry Val d'Essonne
Département Informatique/Mathématiques
4, Boulevard des Coquibus
91025 Évry Cedex
Tel.: (33 1) (16 1) 69 47 74 74
Fax: (33 1) (16 1) 69 47 74 72
E-mail: Valerie.Menissier-Morain@lami.univ-evry.fr
-----------------------------------------------------------




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: hypertext ML code
  1995-12-28 15:59 hypertext ML code Valerie Menissier-Morain
@ 1995-12-28 16:06 ` Mark Hayden
  1995-12-28 17:57   ` Pierre Weis
  1995-12-28 20:01   ` Xavier Leroy
  0 siblings, 2 replies; 6+ messages in thread
From: Mark Hayden @ 1995-12-28 16:06 UTC (permalink / raw)
  To: Valerie Menissier-Morain; +Cc: caml-list, hayden


>Etags (for emacs), ctags (for vi) do this. It seems to me that there was
>a small package to create ml ad hoc tags in the distribution of Caml-Light
>0.6 with the name mletags.

I'm aware of this package.  However, it is not exactly what
I want.  It provides information to help emacs/vi let you
browse your source code.  What I want is a marked-up
version of my source code, so that I can browse it in, for
instance, a WWW browser.  I do not believe this is possible
with mletags alone.

My end goal is to combine hypertext source code with
hypertext text documentation (latex source compiled with
latex2html) into a single, browsable hypertext document.

--Mark




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: hypertext ML code
  1995-12-28 16:06 ` Mark Hayden
@ 1995-12-28 17:57   ` Pierre Weis
  1995-12-28 20:01   ` Xavier Leroy
  1 sibling, 0 replies; 6+ messages in thread
From: Pierre Weis @ 1995-12-28 17:57 UTC (permalink / raw)
  To: Mark Hayden; +Cc: Valerie.Menissier, caml-list, hayden


> I'm aware of this package [mletags].  However, it is not exactly what
> I want.  It provides information to help emacs/vi let you
> browse your source code.  What I want is a marked-up
> version of my source code, so that I can browse it in, for
> instance, a WWW browser.  I do not believe this is possible
> with mletags alone.
> 
> My end goal is to combine hypertext source code with
> hypertext text documentation (latex source compiled with
> latex2html) into a single, browsable hypertext document.

With the standard distribution, the contribution by Franc,ois Rouaix
in the directory

contrib/camltk/browser/ 

provides a unix camlbrowser command that may be helpful

``camlbrowser: A Caml Light environment browser.
  camlbrowser is an hypertext tool to browse library and program modules.''

I guess you need to change the sources of camlbrowser to meet your
goal, or even need to inspire from another Web tool from Franc,ois
Rouaix the mmm browser (http://pauillac.inria.fr:80/~rouaix/mmm/).

Nevertheless I daily use camlbrowser, which is very useful to manage
your sources or to find documentation about the Caml Light library functions...

Pierre Weis
----------------------------------------------------------------------------
WWW Home Page: http://pauillac.inria.fr/~weis
Projet Cristal
INRIA, BP 105, F-78153 Le Chesnay Cedex (France)
E-mail: Pierre.Weis@inria.fr
Telephone: +33 1 39 63 55 98
Fax: +33 1 39 63 53 30
----------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: hypertext ML code
  1995-12-28 16:06 ` Mark Hayden
  1995-12-28 17:57   ` Pierre Weis
@ 1995-12-28 20:01   ` Xavier Leroy
  1996-01-04 19:07     ` Thorsten Ohl
  1 sibling, 1 reply; 6+ messages in thread
From: Xavier Leroy @ 1995-12-28 20:01 UTC (permalink / raw)
  To: Mark Hayden; +Cc: caml-list


> My end goal is to combine hypertext source code with
> hypertext text documentation (latex source compiled with
> latex2html) into a single, browsable hypertext document.

Ah, if you're into literate programming in Caml, you might find
Norman Ramsey's NoWeb package interesting
(http://www.cs.purdue.edu/homes/nr/noweb/).
It is claimed to have indexing capabilites for several languages
including Standard ML (should be easy to adapt to Caml) and generates
both LaTeX and HTML.

I haven't used it myself, but have heard positive comments about
it. If you find it useful for Caml source, let us know.

- Xavier Leroy





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: hypertext ML code
  1995-12-28 20:01   ` Xavier Leroy
@ 1996-01-04 19:07     ` Thorsten Ohl
  0 siblings, 0 replies; 6+ messages in thread
From: Thorsten Ohl @ 1996-01-04 19:07 UTC (permalink / raw)
  To: Xavier Leroy; +Cc: Mark Hayden, caml-list, Norman Ramsey


>>>>> "Xavier" == Xavier Leroy <Xavier.Leroy@inria.fr> writes:

Xavier> Ah, if you're into literate programming in Caml, you might
Xavier> find Norman Ramsey's NoWeb package interesting
Xavier> (http://www.cs.purdue.edu/homes/nr/noweb/).  It is claimed to
Xavier> have indexing capabilites for several languages including
Xavier> Standard ML (should be easy to adapt to Caml) and generates
Xavier> both LaTeX and HTML.

Just my 2 centimes: I can wholeheartedly recommend it and I ``don't
code without it'' :-).

With a little makefile hacking it can support CSL-style separate
compilation easily.  If somebody is fluent in the Icon language,
he/she should be able to adapt the automatic cross referencer for SML
to CSL without much trouble (I couldn't find free docs for Icon, so I
punted on that).

Marking the definitions by hand isn't too inconvenient either and
gives you more fine grained control (in case do not want to cross
reference everything).  References are handled automatically anyway.

-Thorsten

/// Thorsten Ohl, TH Darmstadt, Schlossgartenstr. 9, D-64289 Darmstadt, Germany
//// http://crunch.ikp.physik.th-darmstadt.de/~ohl //// voice: +49-6151-16-3116
///// email: Thorsten.Ohl@Physik.TH-Darmstadt.de /// secretary: 2072, fax: 2421




^ permalink raw reply	[flat|nested] 6+ messages in thread

* hypertext ML code
@ 1995-12-28 14:41 Mark Hayden
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Hayden @ 1995-12-28 14:41 UTC (permalink / raw)
  To: caml-list; +Cc: hayden



Hi,
  I am interested in automatically generating
from normal ML source code hypertext ML code
that has links from references to type/value
binding occurences.  Does anyone know of an
existing package that does this?  It seems
that this should be easy build such a
compiler by hacking an existing ML compiler.

thanks, Mark




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1996-01-05 10:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-12-28 15:59 hypertext ML code Valerie Menissier-Morain
1995-12-28 16:06 ` Mark Hayden
1995-12-28 17:57   ` Pierre Weis
1995-12-28 20:01   ` Xavier Leroy
1996-01-04 19:07     ` Thorsten Ohl
  -- strict thread matches above, loose matches on Subject: below --
1995-12-28 14:41 Mark Hayden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).