Subj : Re: Parser generators for a simple language form. How? To : comp.programming From : Alex Fraser Date : Wed Aug 03 2005 02:07 am "Jon Ripley" wrote in message news:8jSHe.70610$dN6.21997@fe1.news.blueyonder.co.uk... > Alex Fraser wrote: [snip] > > Which language are the parsers currently implemented in? Are they "hand > > coded" or did you use a parser generator? > > The parsers are currently implemented in 100% hand coded BBC BASIC. Have you considered converting them directly to C? I have significant experience of BBC BASIC and, with the exception of string handling, I would not normally expect this to be a major problem. A 3rd party library would simplify the strings aspect - an alternative would be to use C-ish C++ and std::string. > > What makes you say that yacc and bison "don't seem to be appropriate"? > > After several weeks of googling them, reading their documentation, > ploughing through associated websites and generally playing with them I > have not been able to determine the language definitions to use in > either tool which would allow me to create the bulk of the code > required. I am sure there are many who would be willing to help if you were to ask about this specifically. comp.compilers is probably the most appropriate newsgroup. Alex .