From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,df854b5838c3e14 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,df854b5838c3e14 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,df854b5838c3e14 X-Google-Attributes: gid1014db,public From: seebs@solutions.solon.com (Peter Seebach) Subject: Re: C/C++ knocks the crap out of Ada Date: 1996/03/15 Message-ID: <4idh80$6tj@solutions.solon.com>#1/1 X-Deja-AN: 142996525 references: <00001a73+00002504@msn.com> <4iah20$p7k@saba.info.ucla.edu> organization: Usenet Fact Police (Undercover) newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Date: 1996-03-15T00:00:00+00:00 List-Id: In article <4icja9$1r92@saba.info.ucla.edu>, Jay Martin wrote: >>Lex and Yacc are proven utilities that work. >Lex and Yacc are braindead crap along with C and Unix. Do they have an >option to output Ada?? Huh? I'm sorry, but you have *no* argument here. Lex and Yacc are brilliant; they do *exactly* what they're supposed to do. What problems do you see with them? (Reply by email, please, this is even less topical than usual.) Sure they have an option to output Ada. It's the one you're about to write, if it's so useful. I have no need for it, so I'm not about to. It could be done, of course - it's just not currently needed. :) >You have become and "idiot savant" at it, congratulations, >unfortunately the next guy might not reading your code. I wasn't >talking about needing a grammer, I was talking with about reading in a >simple table. Its stupid to bring in two tools with two more >"languages" to do something trivial that takes a page of normal code. Very few people would bring in yacc for just reading a table. I personally would. My table parser would also support simple expression grammars. Could you do that in a page of normal code, too? (Of course you could; you'd use perl, and call eval.) >> System specific performance nonsense deleted. >> Glowing accounts of the wonderfulness of Lex and Yacc deleted. In other words, you deleted the content, and failed to respond to any of the points. So, you're saying you're quite sure that a hand-written piece of code in some language would be dramatically better than a similar thing done in lex and/or yacc? Unconditionally? Nonsense. Like all tools, lex and yacc are excellent for some tasks, and useless for others. I can only assume you've been trying to use them for inappropriate tasks, or more likely, that you haven't ever used them, and that you're not familiar with C, either. You've posted many claims, with *no* documentation, *no* examples, and *no* rationale. It's clear that you hate C, and anything you think is tainted by it; it's unclear why you care so much, or where you got your ideas. Most Ada advocates at least have points to make; you, sir, are a discredit to Ada users. Hmph. "rabid language fanatics" indeed. -s -- Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach. C/Unix wizard -- C/Unix questions? Send mail for help. No, really! FUCK the communications decency act. Goddamned government. [literally.]