[antlr-interest] More, Status of C++ backend?
jimi at temporal-wave.com
Wed Jan 2 08:22:26 PST 2008
> -----Original Message-----
> From: Gavin Lambert [mailto:antlr at mirality.co.nz]
> Sent: Wednesday, January 02, 2008 6:07 AM
> To: Luke A. Guest; Jim Idle
> Well, inheritance can be represented a bit cleaner in C++.
> But in the end it doesn't make a lot of difference. Either way
> there's going to be duplication (even if only interface
> duplication to create C++ wrapper classes).
> But I think that the C++ runtime should end up looking almost
> identical to the Java runtime (both for familiarity and ease of
> maintenance), whereas the C runtime necessarily has to be
> significantly different since the language has no syntactic
> support for OOP.
Yeah - I see that argument too, however I think it will end up being
slower just for the sake of making it use "proper classes", so I would
not use it and just go with the C runtime. I am not sure how many people
would go one way or the other. I think doing this in phases makes a lot
More information about the antlr-interest