[vwnc] Smacc and copy/paste detector

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] Smacc and copy/paste detector

Davide Falzoni
Hi Folks!
 I'm trying to build a light version of a copy/paste detector (see http://pmd.sourceforge.net/cpd.html) for smalltalk code, but I'm a novice in using Smacc, can you point me in the right direction or show me if there are similar projects developed by the smalltalk community?
Thanks
 Davide


Looking for last minute shopping deals? Find them fast with Yahoo! Search.
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Smacc and copy/paste detector

Reinout Heeck

On Mar 3, 2008, at 10:57 PM, Davide Falzoni wrote:

> Hi Folks!
>  I'm trying to build a light version of a copy/paste detector (see http://pmd.sourceforge.net/cpd.html)
>  for smalltalk code, but I'm a novice in using Smacc, can you point  
> me in the right direction or show me if there are similar projects  
> developed by the smalltalk community?
> Thanks
>  Davide
>


Why build a new parser with SmaCC where the system already has 3? --  
the system parser, the RB parser and the code highlighting parser (the  
last one comes as an example with SmaCC). I say re-use one of those :-)



Are you aware of an old project called Duploc? It doesn't have a  
matching algorithm - instead it uses a visualization to guide you  
towards duplicate and not-quite-but-almost-duplicate code.

See
http://www.iam.unibe.ch/~scg/Research/Duploc/index.html

http://www.iam.unibe.ch/~scg/cgi-bin/scgbib.cgi?query=duploc

unfortunately the download links there are broken :-(


R
-

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Smacc and copy/paste detector

Tudor Girba-3
Hi,

In Moose, we have an bundle for code duplication called SmallDude:
http://moose.unibe.ch/tools/smalldude

The code is not too optimized and it is based on string matching.

You can find it at the following coordinates:
- Bundle: SmallDudeDevelopment

- interface: PostgresSQLEXDIConnection
- environment: db.iam.unibe.ch_scgStore
- user name: storeguest
- password: storeguest
- table owner: BERN

Cheers,
Doru

On Mar 3, 2008, at 11:12 PM, Reinout Heeck wrote:

>
> On Mar 3, 2008, at 10:57 PM, Davide Falzoni wrote:
>
>> Hi Folks!
>> I'm trying to build a light version of a copy/paste detector (see http://pmd.sourceforge.net/cpd.html)
>> for smalltalk code, but I'm a novice in using Smacc, can you point
>> me in the right direction or show me if there are similar projects
>> developed by the smalltalk community?
>> Thanks
>> Davide
>>
>
>
> Why build a new parser with SmaCC where the system already has 3? --
> the system parser, the RB parser and the code highlighting parser (the
> last one comes as an example with SmaCC). I say re-use one of  
> those :-)
>
>
>
> Are you aware of an old project called Duploc? It doesn't have a
> matching algorithm - instead it uses a visualization to guide you
> towards duplicate and not-quite-but-almost-duplicate code.
>
> See
> http://www.iam.unibe.ch/~scg/Research/Duploc/index.html
>
> http://www.iam.unibe.ch/~scg/cgi-bin/scgbib.cgi?query=duploc
>
> unfortunately the download links there are broken :-(
>
>
> R
> -
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

--
www.tudorgirba.com
www.tudorgirba.com/blog

"What we can governs what we wish."


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] Smacc and copy/paste detector

Davide Falzoni
Thank you guys,
 I'll give a glance to SmallDude. These days I'm
playing with the RBParser, I'll give feedback next
weeks
Davide

--- Tudor Girba <[hidden email]> wrote:

> Hi,
>
> In Moose, we have an bundle for code duplication
> called SmallDude:
> http://moose.unibe.ch/tools/smalldude
>
> The code is not too optimized and it is based on
> string matching.
>
> You can find it at the following coordinates:
> - Bundle: SmallDudeDevelopment
>
> - interface: PostgresSQLEXDIConnection
> - environment: db.iam.unibe.ch_scgStore
> - user name: storeguest
> - password: storeguest
> - table owner: BERN
>
> Cheers,
> Doru
>
> On Mar 3, 2008, at 11:12 PM, Reinout Heeck wrote:
>
> >
> > On Mar 3, 2008, at 10:57 PM, Davide Falzoni wrote:
> >
> >> Hi Folks!
> >> I'm trying to build a light version of a
> copy/paste detector (see
> http://pmd.sourceforge.net/cpd.html)
> >> for smalltalk code, but I'm a novice in using
> Smacc, can you point
> >> me in the right direction or show me if there are
> similar projects
> >> developed by the smalltalk community?
> >> Thanks
> >> Davide
> >>
> >
> >
> > Why build a new parser with SmaCC where the system
> already has 3? --
> > the system parser, the RB parser and the code
> highlighting parser (the
> > last one comes as an example with SmaCC). I say
> re-use one of  
> > those :-)
> >
> >
> >
> > Are you aware of an old project called Duploc? It
> doesn't have a
> > matching algorithm - instead it uses a
> visualization to guide you
> > towards duplicate and
> not-quite-but-almost-duplicate code.
> >
> > See
> >
>
http://www.iam.unibe.ch/~scg/Research/Duploc/index.html
> >
> >
>
http://www.iam.unibe.ch/~scg/cgi-bin/scgbib.cgi?query=duploc

> >
> > unfortunately the download links there are broken
> :-(
> >
> >
> > R
> > -
> >
> > _______________________________________________
> > vwnc mailing list
> > [hidden email]
> > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
> --
> www.tudorgirba.com
> www.tudorgirba.com/blog
>
> "What we can governs what we wish."
>
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc