Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Unbound type constructor
@ 2007-04-25 20:21 snowfall
  2007-04-26  3:03 ` [Caml-list] " skaller
  0 siblings, 1 reply; 2+ messages in thread
From: snowfall @ 2007-04-25 20:21 UTC (permalink / raw)
  To: caml-list


Hi.

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: http://www.nabble.com/Unbound-type-constructor-tf3647847.html#a10188741
Sent from the Caml Discuss2 mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-26  3:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-25 20:21 Unbound type constructor snowfall
2007-04-26  3:03 ` [Caml-list] " skaller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox