Lost Password?


Go Back   CodeCall Programming Forum > Software Development > General Programming

General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-25-2007, 04:01 PM
snowfall snowfall is offline
Newbie
 
Join Date: Apr 2007
Posts: 3
Rep Power: 0
snowfall is on a distinguished road
Smile Unbound type constructor

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Type of proramming for website? Masterguns Website Design 3 08-29-2007 09:07 AM
XML-JSP content Type problem hbmehta15 JavaScript and CSS 3 06-19-2007 04:39 AM
Creating a Custom File Type...Need Help deusprogrammer C and C++ 2 03-13-2007 03:41 AM
Type Casting clookid PHP Tutorials 1 01-11-2007 09:32 PM
What type of phone do you have? Crane Technology Ramble 22 08-28-2006 11:49 AM


All times are GMT -5. The time now is 05:59 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads