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
Unbound type constructor
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: snowfall <marisaquaresma@h...>
Subject: Unbound type constructor


I am developing a compiler for a language. I have done the parser, the lexer
and the ast. But when I execute the command ocamlc -c parser.mli is shown
the error "unbound type constructor abacus_ast.progr".

Here is the code of the AST:

open Lexing

type ident = string


type progr= ident * (tipo list) * (declaracao_de_variaveis list) * (funcoes
list) * (instrucao list)

and in the parser I put:
% type < Abacus_ast.progr > programa

Can anyone tell me what I am doing wrong? 

Best regards
View this message in context:
Sent from the Caml Discuss2 mailing list archive at