What does the console print to the screen? Start ANTLRWorks from a command shell and look at what it tells you. Also, you need to post the actual error messages as there a number of places where you might get some timeout message. Finally, use a working example grammar first as it could also be an error in your grammar (which you are advised to post if you cannot get it to work). For instance if you are trying to run via the debugger, then the compile might work but if you had a lexer rule like this:
BADRULE : ; Then that rule will match for ever and never consume any input. There are too many variables to know what your issue is from the information supplied. Jim > -----Original Message----- > From: [email protected] [mailto:antlr-interest- > [email protected]] On Behalf Of J.R Karthikeyan > Sent: Monday, August 16, 2010 10:51 AM > To: [email protected] > Subject: [antlr-interest] Regardig time out > > Hi, > > I am new to this antlr. I trying to create parser using antlr works. I wrote > some sample grammer and tried to compile from windows as well as from > mac. It is compiling in mac machine but not in windows. I tried to compile > different file in my mac. When I try to do that it is not compiling the new file. > It is always compiling the old file. So I deleted the folder name 'ouput' and I > think it is created during my compilation. Now none of the file in my mac is > also compiling and it is giving the same error "time out". I rebooted many > times and I make sure that port is not used by any application. But still it is > showing the same error. Suggestion please.. > > > Thanks, > Jrk > > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your- > email-address List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
