Yes indeed. The grammar of a C switch statement is trivial, and its implementation is unproblematic. Its COBOL analogue, the evaluate statement, comes in not one but 33 (count them) flavours; its implementation (code-generation skeletons, etc.) is a large PITA; and (urgently needed) optimization is a still larger one.
John Gilmore
From: David Boyes <[EMAIL PROTECTED]> Reply-To: Linux on 390 Port <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Cobol on Linux Date: Sat, 31 Jul 2004 19:59:17 -0400
On Sat, Jul 31, 2004 at 11:50:23AM +0530, Maneesh Menon wrote: > I meant Lex and Yacc
Better look at the complexity of the language first. The LLR grammar for COBOL is *not* trivial. You'd also still need to write the code generator; also non-trivial.
-- db
---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
_________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
