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.8 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, HEADER_SPAM autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1014db,745ecf6266b2fdbf X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,745ecf6266b2fdbf X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,745ecf6266b2fdbf X-Google-Attributes: gid109fba,public X-Google-Thread: 100850,745ecf6266b2fdbf X-Google-Attributes: gid100850,public X-Google-ArrivalTime: 2003-02-15 12:13:55 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!gemini.plethora.net.POSTED!not-for-mail X-Old-trace: 1045169983 11762 204.253.250.10 In-Reply-to: Cache-Post-path: master.nyc.kbcfp.com!unknown@nightcrawler.nyc.kbcfp.com Content-Transfer-encoding: 7bit References: X-Accept-language: en-us, en Content-Type: text/plain; charset=us-ascii; format=flowed Subject: Re: [ANN] an EBNF parser and coding pattern tool (LGPL) From: Hyman Rosen Organization: KBC Financial Products X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) Return-Path: Mime-Version: 1.0 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030130 Newsgroups: comp.lang.c.moderated,comp.lang.ada,comp.lang.c,comp.lang.c++ Message-ID: Originator: clcm@plethora.net (Comp Lang C'Moderated) Date: 15 Feb 2003 20:13:54 GMT NNTP-Posting-Host: b45dc8c4.news.plethora.net X-Trace: 1045340034 gemini.plethora.net 79558 clcm@205.166.146.1 X-Complaints-To: abuse@plethora.net Xref: archiver1.google.com comp.lang.c.moderated:7436 comp.lang.ada:34131 comp.lang.c:173464 comp.lang.c++:203427 Date: 2003-02-15T20:13:54+00:00 List-Id: Brian Inglis wrote: > Macros have been used in C for years to generate generic > structures and code to process them. In the C++ community macros are considered a generally unacceptable solution except in very limited cases. Indeed, C++ started off with a macro-based "generic.h" which was used before templates became available. In any case, we would require introspection to work for arbitrary classes, not just those which had been built in a special way to enable it. If we wished to limit ourselves to that, there are tuple-based approaches that we could use right now. -- comp.lang.c.moderated - moderation address: clcm@plethora.net