comp.lang.ada
 help / color / mirror / Atom feed
From: codeworker@free.fr (Cedric LEMAIRE)
Subject: Re: [ANN] an EBNF parser and coding pattern tool (LGPL)
Date: 01 Feb 2003 04:10:01 GMT
Date: 2003-02-01T04:10:01+00:00	[thread overview]
Message-ID: <clcm-20030131-0004@plethora.net> (raw)
In-Reply-To: clcm-20030130-0009@plethora.net

> > 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



  reply	other threads:[~2003-02-01  4:10 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-24  3:36 [ANN] an EBNF parser and coding pattern tool (LGPL) Cedric LEMAIRE
2003-01-24 16:40 ` Victor Porton
2003-01-25  0:33   ` llewelly
2003-01-29  2:55   ` Cedric LEMAIRE
2003-01-24 16:40 ` apm
2003-01-29  2:56   ` Cedric LEMAIRE
2003-01-31  2:25     ` Cedric LEMAIRE
2003-01-31  2:25     ` Anthony Williams
2003-02-01  4:10       ` Cedric LEMAIRE [this message]
2003-02-04 16:53     ` apm
2003-02-06 20:35       ` Cedric LEMAIRE
2003-02-06 20:36       ` Cedric LEMAIRE
2003-02-01  4:09   ` White Wolf
2003-02-03  1:28     ` Martin Ambuhl
2003-02-03  1:28     ` Hillel Y. Sims
2003-02-03 16:31       ` Tars_Tarkas
2003-02-03  1:29     ` Mark McIntyre
2003-02-03 16:31       ` CBFalconer
2003-02-04 16:53         ` Georg Bauhaus
2003-02-06 20:36           ` Cedric LEMAIRE
2003-02-07 17:33             ` Hyman Rosen
2003-02-08 18:22               ` Thant Tessman
2003-02-07 17:33             ` Anthony Williams
2003-02-11  6:15               ` Cedric LEMAIRE
2003-02-12  1:30                 ` Hyman Rosen
2003-02-13 20:03                   ` Brian Inglis
2003-02-15 20:13                     ` Hyman Rosen
2003-02-15 20:14                   ` Cedric LEMAIRE
2003-02-12  1:30                 ` Julián Albo
2003-02-15 20:14                   ` Cedric LEMAIRE
2003-02-19  6:10                     ` Alan Balmer
2003-02-12  1:30                 ` Stephen Leake
2003-02-12 18:22                   ` Hyman Rosen
2003-02-12 19:39                     ` Stephen Leake
2003-02-12 21:16                       ` Hyman Rosen
2003-02-14 20:34                         ` Stephen Leake
2003-02-15 20:14                   ` Cedric LEMAIRE
2003-02-07 17:33             ` Hyman Rosen
2003-02-03 16:31       ` ozbear
2003-02-03 16:31     ` Cedric LEMAIRE
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox