caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] OCamlDoc for multiple languages?
@ 2014-11-27  6:20 Kenichi Asai
  2014-11-27  6:45 ` Francois Ripault
  0 siblings, 1 reply; 2+ messages in thread
From: Kenichi Asai @ 2014-11-27  6:20 UTC (permalink / raw)
  To: caml-list

Dear all,

> One of my students is porting the universe teachpack of Racket into
> OCaml, which enables easy game programming similarly to Racket.
> I am now encouraging her to make the library public...

One of the issues in making the library public is that the ocamldoc
comments in mli files are written in Japanese.  (This is important for
my Japanese students.)  What is a good way to provide ocamldoc
comments in multiple languages?  I can only think of having many mli
files for each language, like:

foo.mli.ja	for Japanese
foo.mli.en	for English

and make foo.mli as a link to one of them.  But ideally, I want to
keep only one mli file with multiple comments and choose one of them
depending on which language's document I want to create.

Thank you in advance.

Sincerely,

-- 
Kenichi Asai

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

end of thread, other threads:[~2014-11-27  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-27  6:20 [Caml-list] OCamlDoc for multiple languages? Kenichi Asai
2014-11-27  6:45 ` Francois Ripault

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).