From: Jon Harrop <jon@jdh30.plus.com>
To: caml-list@inria.fr
Subject: lablGL and the top-level
Date: Wed, 2 Mar 2005 08:18:15 +0000 [thread overview]
Message-ID: <200503020818.16207.jon@jdh30.plus.com> (raw)
It just occurred to me that the ability to run an interactive top-level to
write and test OpenGL programs would be quite alluring. In particular, this
would be a great way to introduce students to ocaml and graphics.
However, I'd like to use lablglut, which requires execution to be handed over
to glut via a final call to glut.mainLoop. So, what would be the best way to
get glut and the ocaml top-level to interoperate?
I guess you could write a glut idle function which provokes the top-level into
asking for more input, but the display wouldn't be updated in the mean time.
Any ideas?
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://ffconsultancy.com/products/ocaml_for_scientists
next reply other threads:[~2005-03-02 8:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-02 8:18 Jon Harrop [this message]
2005-03-02 8:48 ` [Caml-list] " Jacques GARRIGUE
2005-03-07 14:05 ` Daniel Bünzli
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=200503020818.16207.jon@jdh30.plus.com \
--to=jon@jdh30.plus.com \
--cc=caml-list@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