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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,50e705cdf2767cc6 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Natasha Kerensikova Newsgroups: comp.lang.ada Subject: Re: Parser interface design Date: Tue, 19 Apr 2011 09:08:07 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Date: Tue, 19 Apr 2011 09:08:07 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="Mda950WjNwNLAFOE7yJXQw"; logging-data="1975"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19J2D3EMa/kNtYgg/J1lIYc" User-Agent: slrn/0.9.9p1 (FreeBSD) Cancel-Lock: sha1:knaonBUHHouhVNh/FLOHW0dK2cA= Xref: g2news1.google.com comp.lang.ada:18889 Date: 2011-04-19T09:08:07+00:00 List-Id: Hello, On 2011-04-06, Natasha Kerensikova wrote: > before wasting too much time of anybody, I want to make it clear that > I'm asking about interface design in Ada which might actually never turn > up into real code. I'm still unsure about ever writing Ada code, and how > bad my previous thread went playing no small part in that. However I'm > still curious about how this particular problem might be solved in Ada. > > [...] > > So what would be the best approach to interface a parser and a renderer? It turns out that I'm coming out of this discussion in a state that is surprisingly similar to that which I had when coming out of my previous thread here (about S-expressions). >From the replies I had, it seems I'm clearly, obviously and deeply wrong according to everybody, and yet I can't even begin to understand what is wrong and it which way it is wrong. It looks like I'm too stupid to use Ada, so I guess I should rather keep writing my crappy code in C and stop bothering people with my flawed ideas. Thanks a lot for all your comments, and I sincerely apologise for having wasted so much of your time. I should have known I don't have what it takes. Natasha