From: "Luke A. Kanies" Date: 2003-11-09T03:41:33+09:00 Subject: Re: rlex and ryacc On Fri, 7 Nov 2003, Jim Freeze wrote: > I have used racc successfully on a project and did not have a problem > with speed. Howver, there are ways to speed up racc when needed. > Also, you could write your parser in C (IIRC, YAML started out in racc and > went to C. Ask Why.) I am no expert, but I can probably get you going > if you choose racc. Okay, I'm trying to use that, and I can't even get that far. What did you use for a lexer? rlex seems to be giving me no end of problems. There's the inconsistency between linux and solaris, and now I'm finding that although I get a valid Lexer.rb on solaris, it does not define the necessary constants, so it obviously doesn't work. And when I rewrite my token definitions just to print and not return anything, I get an infinite loop, because apparently the lexer isn't actually consuming the text or something. > There is also rbison, but I am not familar with the differences between > it and racc, although I think it offers roughly the same features as > racc. I never even found this. If racc doesn't work out, I'll look at it. > And, rockit is being re-written in C and should be released now, but I > haven't followed its progress. The web site doesn't have releases more recent than 2001, so I don't think anything's really available. Racc seems fine, now if I could just find a lexer. Thanks, Luke -- Due to circumstances beyond your control, you are master of your fate and captain of your soul.