Browse thread
[Caml-list] a functional shell -- beginning an implementation...
- Jonathan Roewen
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jonathan Roewen <jonathan.roewen@g...> |
| Subject: | [Caml-list] a functional shell -- beginning an implementation... |
Hi, 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 ambiguity. 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, Jonathan