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: fc772,745ecf6266b2fdbf X-Google-Attributes: gidfc772,public X-Google-Thread: 100850,745ecf6266b2fdbf X-Google-Attributes: gid100850,public X-Google-Thread: 109fba,745ecf6266b2fdbf X-Google-Attributes: gid109fba,public X-Google-ArrivalTime: 2003-01-31 20:10:03 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: posting.google.com 1043999423 11766 127.0.0.1 (31 Jan 2003 07:50:23 GMT) Subject: Re: [ANN] an EBNF parser and coding pattern tool (LGPL) Content-Transfer-encoding: 8bit References: From: codeworker@free.fr (Cedric LEMAIRE) Organization: http://groups.google.com/ Return-Path: Content-Type: text/plain; charset=ISO-8859-1 X-Old-complaints-to: groups-abuse@google.com Newsgroups: comp.lang.c.moderated,comp.lang.ada,comp.lang.c,comp.lang.c++,comp.lang.c++.moderated Message-ID: Originator: clcm@plethora.net (Comp Lang C'Moderated) Date: 01 Feb 2003 04:10:01 GMT NNTP-Posting-Host: d0abecb9.news.plethora.net X-Trace: 1044072601 gemini.plethora.net 79553 clcm@205.166.146.1 X-Complaints-To: abuse@plethora.net Xref: archiver1.google.com comp.lang.c.moderated:7338 comp.lang.ada:33667 comp.lang.c:170621 comp.lang.c++:200322 comp.lang.c++.moderated:59777 Date: 2003-02-01T04:10:01+00:00 List-Id: > > codeworker@free.fr (Cedric LEMAIRE) wrote: > > You must write the Extended BNF of the language you use (I don't > > propose EBNF for languages yet) and to redefine some clauses > > (identifier of a variable that is being declared, lambda-expression, > > method identifier) to apply/remove the Hungary Notation on it. > > > anthony.williams@anthonyw.cjb.net wrote: > So, if you want to use CodeWorker to modify C++ code based on a set of rules, > you need a grammar for C++, which you don't supply :-( CodeWorker is Open-Source and, in that spirit, each contribution of interested people that might improve the tool is welcome. For the C++ grammar, I'm taking it in charge finally. > I can see the benefit of this tool, in that it would allow you to use > Aspect-Orientated Programming in C++ by performing C++-to-C++ translations > based on a set of rules, but someone has to write the grammar first. This tools pretents first generating a lot of code for you, acquiring your Design from any kind of format (I'm rewriting the Rational ROSE one for publishing it, the first I wrote isn't my intellectual property) - thanks to the E-BNF -, decorating the parse tree and exploring it through coding patterns. The process is straight-forward, without a binding to an external programming language, as proposed ordinarly. The source-to-source translation came later (I wrote a LaTex-to-HTML translation adapted to my documentation for example). It isn't the original purpose of the tool ; it explains why no language grammars are available yet! > C++ is not an easy language to parse, so I don't fancy that job. I understand. I wrote the E-BNF grammar of the C++/ISO 14882 ; It scans C++ files. I need more time to give a description of all declarations seen from any scope in the C++ file. I terminate this tedious job as soon as possible. --Cedric -- comp.lang.c.moderated - moderation address: clcm@plethora.net