From: snowfall <marisaquaresma@hotmail.com>
To: caml-list@yquem.inria.fr
Subject: Unbound type constructor
Date: Wed, 25 Apr 2007 13:21:48 -0700 (PDT) [thread overview]
Message-ID: <10188741.post@talk.nabble.com> (raw)
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.
next reply other threads:[~2007-04-25 20:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-25 20:21 snowfall [this message]
2007-04-26 3:03 ` [Caml-list] " skaller
[not found] <Pine.BSF.4.21.0102050903120.28934-100000@shell5.ba.best.com>
2001-02-05 18:58 ` Stephan Tolksdorf
2001-02-06 16:35 ` Pierre Weis
2001-02-06 22:39 ` leary
2001-02-07 21:34 ` Pierre Weis
2001-02-08 7:36 ` Sven
-- strict thread matches above, loose matches on Subject: below --
2001-02-03 17:16 Stephan Tolksdorf
2001-02-04 22:23 ` Brian Rogoff
2001-02-05 2:21 ` Jacques Garrigue
2001-02-05 17:30 ` John Max Skaller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10188741.post@talk.nabble.com \
--to=marisaquaresma@hotmail.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox