Browse thread
[Caml-list] extensible records again
-
Michael Vanier
- Oleg Trott
- Martin Jambon
- skaller
- Achim Blumensath
- Marcin 'Qrczak' Kowalczyk
[
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: | Achim Blumensath <blume@l...> |
| Subject: | Re: [Caml-list] extensible records again |
Michael Vanier wrote:
> I've written a dynamically-typed language in ocaml, and I want to be able to
> add new types to the language without having to add new primitive types to
> the system.
This weekend I have done something like this in ant:
www-mgi.informatik.rwth-aachen.de/~blume/pub/ant-current.tar.bz2
The type declarations are in
VM/Types.ml and VM/Opaque.ml
and an example showing how to define your own type in
Markup/ALBindings.ml
Achim
--
________________________________________________________________________
| \_____/ |
Achim Blumensath \O/ \___/\ |
LaBRI / Bordeaux =o= \ /\ \|
www-mgi.informatik.rwth-aachen.de/~blume /"\ o----|
____________________________________________________________________\___|
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners