* [gentoo-dev] Language styling translation tools
@ 2005-06-21 0:00 Anthony Gorecki
2005-06-21 4:30 ` Wesley Leggette
0 siblings, 1 reply; 6+ messages in thread
From: Anthony Gorecki @ 2005-06-21 0:00 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 973 bytes --]
I frequently work with C# applications, and rather than remaining perpetually
irritated by innate class and method (et al.) naming style of the .NET
framework, I'd like to either find or write a script to rewrite the class and
method names automatically. Ideally, such a script would run after a
repository checkout to rewrite the names, and then again before a commit to
put them back to the way that they were previously.
This can't be a simple search and replace, as my own code would be in the
C-naming format, while the .NET routines would need to be in the condensed
format; therefore, based upon the libraries that are included by a given
piece of source code, the script would need to determine which portions of
the code belong to those libraries, and which do not.
Before I start coding, is anyone familiar with an application that performs
this function, or could be adapted to do so?
--
Anthony Gorecki
Ectro-Linux Foundation
[-- Attachment #2: Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Language styling translation tools
2005-06-21 0:00 [gentoo-dev] Language styling translation tools Anthony Gorecki
@ 2005-06-21 4:30 ` Wesley Leggette
2005-06-21 4:32 ` Anthony Gorecki
0 siblings, 1 reply; 6+ messages in thread
From: Wesley Leggette @ 2005-06-21 4:30 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]
On Mon, 2005-06-20 at 17:00 -0700, Anthony Gorecki wrote:
> I frequently work with C# applications, and rather than remaining perpetually
> irritated by innate class and method (et al.) naming style of the .NET
> framework, I'd like to either find or write a script to rewrite the class and
> method names automatically. Ideally, such a script would run after a
> repository checkout to rewrite the names, and then again before a commit to
> put them back to the way that they were previously.
>
> This can't be a simple search and replace, as my own code would be in the
> C-naming format, while the .NET routines would need to be in the condensed
> format; therefore, based upon the libraries that are included by a given
> piece of source code, the script would need to determine which portions of
> the code belong to those libraries, and which do not.
>
> Before I start coding, is anyone familiar with an application that performs
> this function, or could be adapted to do so?
Isn't that sort of like speaking French with English words?
--
Wesley Leggette <lists@kaylix.net>
GPG Key: http://www.kaylix.net/kaylix.asc or http://pgp.mit.edu
GPG Fingerprint: 9B6F 19FB 5296 5E6C 21FE 7614 2A20 5688 F848 9BDD
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Language styling translation tools
2005-06-21 4:30 ` Wesley Leggette
@ 2005-06-21 4:32 ` Anthony Gorecki
2005-06-21 9:48 ` Paul de Vrieze
2005-06-21 16:54 ` Wesley Leggette
0 siblings, 2 replies; 6+ messages in thread
From: Anthony Gorecki @ 2005-06-21 4:32 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 357 bytes --]
On Monday, June 20, 2005 9:30 pm, Wesley Leggette wrote:
> Isn't that sort of like speaking French with English words?
Sorry, perhaps I should actually state what I need to do in clear terms:
I need to turn MyQuiteLongClassOrMethodName() into
my_quite_long_class_or_method_name() and then back again.
--
Anthony Gorecki
Ectro-Linux Foundation
[-- Attachment #2: Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Language styling translation tools
2005-06-21 4:32 ` Anthony Gorecki
@ 2005-06-21 9:48 ` Paul de Vrieze
2005-06-21 17:37 ` Anthony Gorecki
2005-06-21 16:54 ` Wesley Leggette
1 sibling, 1 reply; 6+ messages in thread
From: Paul de Vrieze @ 2005-06-21 9:48 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 647 bytes --]
On Tuesday 21 June 2005 06:32, Anthony Gorecki wrote:
> On Monday, June 20, 2005 9:30 pm, Wesley Leggette wrote:
> > Isn't that sort of like speaking French with English words?
>
> Sorry, perhaps I should actually state what I need to do in clear
> terms: I need to turn MyQuiteLongClassOrMethodName() into
> my_quite_long_class_or_method_name() and then back again.
What the tool should basically do is in some way record the full names
(including namespaces) that were changed, and then at the end change them
back again.
Paul
--
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Language styling translation tools
2005-06-21 4:32 ` Anthony Gorecki
2005-06-21 9:48 ` Paul de Vrieze
@ 2005-06-21 16:54 ` Wesley Leggette
1 sibling, 0 replies; 6+ messages in thread
From: Wesley Leggette @ 2005-06-21 16:54 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]
On Mon, 2005-06-20 at 21:32 -0700, Anthony Gorecki wrote:
> On Monday, June 20, 2005 9:30 pm, Wesley Leggette wrote:
> > Isn't that sort of like speaking French with English words?
>
> Sorry, perhaps I should actually state what I need to do in clear terms:
> I need to turn MyQuiteLongClassOrMethodName() into
> my_quite_long_class_or_method_name() and then back again.
Yeah, I understood that. I was just poking fun.
--
Wesley Leggette <wleggette@sbcglobal.net>
--
Wesley Leggette <lists@kaylix.net>
GPG Key: http://www.kaylix.net/kaylix.asc or http://pgp.mit.edu
GPG Fingerprint: 9B6F 19FB 5296 5E6C 21FE 7614 2A20 5688 F848 9BDD
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-06-21 17:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-21 0:00 [gentoo-dev] Language styling translation tools Anthony Gorecki
2005-06-21 4:30 ` Wesley Leggette
2005-06-21 4:32 ` Anthony Gorecki
2005-06-21 9:48 ` Paul de Vrieze
2005-06-21 17:37 ` Anthony Gorecki
2005-06-21 16:54 ` Wesley Leggette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox