On Fri, 11 May 2007 02:38:42 -0700, "Ecirbaf"
<[EMAIL PROTECTED]> said:
> 
>   Hello !
> 
>    I hope this subject is in the right place on this list.
> 
>   I meet a lot of Caml code that only appears in .html files,
> sometimes nested inside non (* *) - comments.
> 
>   Please, is there any program that could generate a valid ( in case
> it's more than snippets ) .ml file from this hypertext ?
> 
>   But maybe, it is often impossible without human help.

So you want a program that extracts ocaml code from an HTML document and
saves it as a file?
You could start by extracting the text from <pre> tags, and then use
some kind of magic to determine what kind of language it is (not only
ocaml), and then sell your tool to google code search.


Martin
-- 
Martin Jambon, PhD
http://martin.jambon.free.fr


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocaml-developer" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ocaml-developer?hl=en
For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html
-~----------~----~----~----~------~----~------~--~---

Reply via email to