On Thu, May 12, 2005 at 07:47:14AM -0700, Ben Pfaff wrote:
     <[EMAIL PROTECTED]> writes:
     
     > Now let me know, does anybody try to implement lexer or some other
     > parts of PSPP project as C++ classes. It seems to me that this can
     > simplify your code.  
     
     No thanks.  I don't want to mix C and C++.

But all C++ code is C code.  So by implication all C++ code mixes itself with C 
code.  However I agree with your point of view.  One should be very carefull
introducting C++ features to code that has been written assuming a C 
paradigm.  Having said that, if it's done slowly are carefully it's possible to 
migrate a large C program into C++ without major problems.
     
     > And I want to know from Ben Pfaff why in lexer some functions
     > are "weird"?  
     
     They do things that don't fit into the usual model well, such as
     retrieving the rest of the line without tokenizing it.

In other words the lexer is wierd, because the spss language is 
lexicographically wierd.

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: pgpiqZuRZoKvU.pgp
Description: PGP signature

_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to