2 messages in com.googlegroups.google-code-searchRe: Just a massive wave of gratitude...!
FromSent OnAttachments
Cyberfox05 Oct 2006 13:47 
Matthias Gutheil13 Oct 2006 08:19 
Subject:Re: Just a massive wave of gratitude...!
From:Matthias Gutheil (Matt@gmail.com)
Date:10/13/2006 08:19:29 AM
List:com.googlegroups.google-code-search

Hi Morgan,

look at merobase.com, there you can ask for abstract blocks like methods with a special signature.

Matthias

Cyberfox wrote:

Greetings, I just wanted to say, 'THANK YOU!'

I had a thought of doing this myself, long, long ago (even registered 'searchcode.com' back in 1999!), and even built a small model version, but the scale... I never could manage to get it to perform at scale, not to mention keeping up with updates, and finding all the repositories out there, and eventually other projects took focus. It ended up being one of those, 'This is a great idea, I want SOMEONE to do it, even if it's not me.'

Recently Koders.com did a decent implementation, but Google, as usual, did it better. (For example, searching for 'sparklines' in 'java' sources yields no results on Koders.)

I'd like to suggest 'search for source like', where the searcher provides a block of source in a given language, it gets broken down into abstract blocks (an AST?), and then the search happens for that sequence of abstract blocks in any language the abstract representation supports...

This requires some analysis of the source that you're accumulating, but imagine what that would be like for future programmers... Not to get all 'Clippy' on you, but an unintrusive status bar in your IDE, saying 'I see you're writing a block of code that looks familiar, click to see how others may have implemented that.'

As I said, it's something that's been in the back of my head for years... Love the implementation, and can't wait for it to get even better!

-- Morgan Schweers, CyberFOX!