[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnubol: subsets



In a message dated 11/16/99 10:16:49 PM EST,
Michael McKernan, mck@tivoli.mv.com writes, while describing a specific 
syntax issue:

...snips ...
<< Treating it in semantics is not much
 better. It would mean putting the otherwise useless END-x delimiters
 into the intermediate, and would still be difficult to diagnose while
 you're in the right neighborhood.  
>>
... snips ...

Okay, design then. What do you see as the interface from syntax to semantics? 
What does a unit of work exchanged between them look like? What is the stream 
of units of work from syntax to semantics? General pictures. 

Is there an intermediate? How many intermediate stages? Is there an AST? Any 
GNUish things around that you feel are worth canibalizing?

Tell you what, don't worry about error messages for now. Obviously all that 
is needed everywhere so it will get folded in, somehow, someday. For now what 
is a unit of work in the interface from syntax to semantics?  What things 
about COBOL determine that design?

What COBOL things are crucial to understand in designing the semantics? The 
big things. Not tokens, not pieces. What is the visage of a thing that comes 
through the front door of semanitcs. From the Data Division and from the 
Procedure Division.  Approximately what shape are these hulks that would be a 
unit of work?

Naturally, the world is also invited to join in.

Best Wishes
Bob Rayhawk
RKRayhawk@aol.com

--
This message was sent through the gnu-cobol mailing list.  To remove yourself
from this mailing list, send a message to majordomo@lusars.net with the
words "unsubscribe gnu-cobol" in the message body.  For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.