Rudy Velthuis (TeamB) wrote:
> Rudy Velthuis (TeamB) wrote: > >>> My guess would be that the vast majority of compilers are dependent >>> on a compiler generator >> >> My guess would be that the mainstream ones, like C, C++, C#, Java, >> Pascal, Python, Ruby, Perl, etc. are not. I could be wrong, though. > > OK, I was wrong about Perl and Ruby. Apparently, these use Yacc or > something very similar. Python doesn't use one, AFAICT. Pascal, C and > C++ certainly don't. > > I know that the Free Pascal Compiler parser started out as a TP YACC > generated file, but I don't think it still is.
IMO, YACC does not provide the most optimal flexibility when building a compiler. I can certainly understand why you would want to look at other solutions.
Mattias