Re: [Caml-list] ocamlrun: Segmentation fault (core dumped)

2011-10-17 Thread ygrek
On Mon, 17 Oct 2011 18:32:53 +0200 Emmanuel Dieul emmanuel.di...@free.fr wrote: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 6724.0x14ac] 0x610e73da in pthread::thread_init_wrapper(void*) () from /cygdrive/l/programmation/cygwin/bin/cygwin1.dll (gdb) backtrace

[Caml-list] Interpreting a language with (sparse) arrays explicitly indexed

2011-10-17 Thread Diego Olivier Fernandez Pons
Caml-list, I have to write an interpreter for a language that has arrays explicitly indexed by anything that can be sequential (list, range, set) {string} airports = {ATL, JFK}; range index = 1 .. 2; tuple recordAirport { airport : string; id : int } {recordAirport}