Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] a functional shell -- beginning an implementation...
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-01-29 (05:44)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] a functional shell -- beginning an implementation...

I'm trying to develop an ocaml-based shell, using functions as first
class primitives in the shell environment.

The idea I have is to have the .cmi files represent the environment
for the shell basics, and a trie to store function names available ..
and each have a list of modules that this name appears in. For a
function with a single module name, it can be executed without
ambiguity. Otherwise, there'd be some mechanism to handle the

Anyways, to get to the real point: does anyone have some pointers on
where to begin to try extract names of values & module names from .cmi
files for the purpose of building this tree?

Kindest Regards,