|
||||||
| General Programming Non language specific, Assembly, Linux/Unix, Mac and anything not covered in other topics. Talk about Programming Theory here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
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 |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
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 |
| 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 |
Goal: 100,000 Posts
Complete: 98%