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: 06 Feb 2003 20:36:04 GMT
Date: 2003-02-06T20:36:04+00:00	[thread overview]
Message-ID: <clcm-20030206-0007@plethora.net> (raw)
In-Reply-To: clcm-20030204-0001@plethora.net

apm35@student.open.ac.uk (apm) wrote in message news:<clcm-20030204-0001@plethora.net>...
> codeworker@free.fr (Cedric LEMAIRE) wrote in message news:<clcm-20030128-> > [snip]
> > > Does this mean it can be used to implement a program that can add and
> > > remove Hungarian warts? This would enable programmers that don't speak
> > > Hungarian to observe corporate standards but still work with
> > > maintainable code.
> > 
> > Exactly. This program will be a script interpreted by 'CodeWorker', or
> > be a C++ program generated from the script automatically.
> 
> This is excellent news.
> 
> > The way to do it is to use the 'source-to-source translation'
> > functionality of the software (an parse tree isn't necessary to
> > process the language-to-same-language transformation).
> > 
> > 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.
> 
> I was thinking of its application to C++. There is a well-known form
> of "the Transylvanian Heresy" which most developers will have seen
> from time to time. It includes things like 'b' for boolean, 'p' for
> pointer, 'h' for handle, 'sz' for null terminated string, and so on.
> Will there be default rules for this? This would allow people to work
> with the most common form of 'the heresy'.
> 
> BTW I heard that the rules for parsing C++ have been expressed in BNF
> and this *is* downloadable (sorry I don't have the URL).
> 
> -apm

I'm doubtful suddenly: are you really interested by source-to-source translation?

-- Cedric
-- 
comp.lang.c.moderated - moderation address: clcm@plethora.net



  parent reply	other threads:[~2003-02-06 20:36 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
2003-02-04 16:53     ` apm
2003-02-06 20:35       ` Cedric LEMAIRE
2003-02-06 20:36       ` Cedric LEMAIRE [this message]
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